@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a DescribePermissions request.
| Constructor and Description |
|---|
DescribePermissionsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribePermissionsResult |
clone() |
boolean |
equals(Object obj) |
List<Permission> |
getPermissions()
An array of
Permission objects that describe the stack permissions. |
int |
hashCode() |
void |
setPermissions(Collection<Permission> permissions)
An array of
Permission objects that describe the stack permissions. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribePermissionsResult |
withPermissions(Collection<Permission> permissions)
An array of
Permission objects that describe the stack permissions. |
DescribePermissionsResult |
withPermissions(Permission... permissions)
An array of
Permission objects that describe the stack permissions. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Permission> getPermissions()
An array of Permission objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission object
with permissions for the specified stack and IAM ARN.
Permission objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission
object with permissions for the specified stack and IAM ARN.
public void setPermissions(Collection<Permission> permissions)
An array of Permission objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission object
with permissions for the specified stack and IAM ARN.
permissions - An array of Permission objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission
object with permissions for the specified stack and IAM ARN.
public DescribePermissionsResult withPermissions(Permission... permissions)
An array of Permission objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission object
with permissions for the specified stack and IAM ARN.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection) or withPermissions(java.util.Collection) if you want to
override the existing values.
permissions - An array of Permission objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission
object with permissions for the specified stack and IAM ARN.
public DescribePermissionsResult withPermissions(Collection<Permission> permissions)
An array of Permission objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission object
with permissions for the specified stack and IAM ARN.
permissions - An array of Permission objects that describe the stack permissions.
If the request object contains only a stack ID, the array contains a Permission object with
permissions for each of the stack IAM ARNs.
If the request object contains only an IAM ARN, the array contains a Permission object with
permissions for each of the user's stack IDs.
If the request contains a stack ID and an IAM ARN, the array contains a single Permission
object with permissions for the specified stack and IAM ARN.
public String toString()
toString in class ObjectObject.toString()public DescribePermissionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.