public class DescribePermissionsResult extends Object 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. |
public List<Permission> getPermissions()
An array of Permission
objects that describe the stack
permissions.
Permission
object with permissions for each of the stack IAM
ARNs.Permission
object with permissions for each of the user's
stack IDs.Permission
object with permissions for the
specified stack and IAM ARN.Permission
objects that describe the
stack permissions.
Permission
object with permissions for
each of the stack IAM ARNs.Permission
object with permissions for
each of the user's stack IDs.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.
Permission
object with permissions for each of the stack IAM
ARNs.Permission
object with permissions for each of the user's
stack IDs.Permission
object with permissions for the
specified stack and IAM ARN.permissions
- An array of Permission
objects that describe the
stack permissions.
Permission
object with permissions for
each of the stack IAM ARNs.Permission
object with permissions for
each of the user's stack IDs.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.
Permission
object with permissions for each of the stack IAM
ARNs.Permission
object with permissions for each of the user's
stack IDs.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.
Permission
object with permissions for
each of the stack IAM ARNs.Permission
object with permissions for
each of the user's stack IDs.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.
Permission
object with permissions for each of the stack IAM
ARNs.Permission
object with permissions for each of the user's
stack IDs.Permission
object with permissions for the
specified stack and IAM ARN.permissions
- An array of Permission
objects that describe the
stack permissions.
Permission
object with permissions for
each of the stack IAM ARNs.Permission
object with permissions for
each of the user's stack IDs.Permission
object with permissions
for the specified stack and IAM ARN.public String toString()
toString
in class Object
Object.toString()
public DescribePermissionsResult clone()
Copyright © 2018. All rights reserved.