Class DescribePermissionsResult
java.lang.Object
com.amazonaws.services.opsworks.model.DescribePermissionsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the response to a DescribePermissions
request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An array ofPermission
objects that describe the stack permissions.int
hashCode()
void
setPermissions
(Collection<Permission> permissions) An array ofPermission
objects that describe the stack permissions.toString()
Returns a string representation of this object; useful for testing and debugging.withPermissions
(Permission... permissions) An array ofPermission
objects that describe the stack permissions.withPermissions
(Collection<Permission> permissions) An array ofPermission
objects that describe the stack permissions.
-
Constructor Details
-
DescribePermissionsResult
public DescribePermissionsResult()
-
-
Method Details
-
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.
- Returns:
- 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.
- If the request object contains only a stack ID, the array
contains a
- If the request object contains only a stack ID, the array contains a
-
setPermissions
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.
- Parameters:
permissions
- An array ofPermission
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.
- If the request object contains only a stack ID, the array
contains a
- If the request object contains only a stack ID, the array contains a
-
withPermissions
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)
orwithPermissions(java.util.Collection)
if you want to override the existing values.- Parameters:
permissions
- An array ofPermission
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.
- If the request object contains only a stack ID, the array
contains a
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- If the request object contains only a stack ID, the array contains a
-
withPermissions
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.
- Parameters:
permissions
- An array ofPermission
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.
- If the request object contains only a stack ID, the array
contains a
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- If the request object contains only a stack ID, the array contains a
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-