public class DescribePermissionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a DescribePermissions
request.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Permission> |
permissions
An array of
Permission objects that describe the stack
permissions. |
Constructor and Description |
---|
DescribePermissionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribePermissionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Permission> |
getPermissions()
An array of
Permission objects that describe the stack
permissions. |
int |
hashCode() |
void |
setPermissions(java.util.Collection<Permission> permissions)
An array of
Permission objects that describe the stack
permissions. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePermissionsResult |
withPermissions(java.util.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. |
private SdkInternalList<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.public java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribePermissionsResult clone()
clone
in class java.lang.Object