@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPermissionsResult() |
Modifier and Type | Method and Description |
---|---|
ListPermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A continuation token, if this is not the first call to retrieve this list.
|
List<PrincipalResourcePermissions> |
getPrincipalResourcePermissions()
A list of principals and their permissions on the resource for the specified principal and resource types.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve this list.
|
void |
setPrincipalResourcePermissions(Collection<PrincipalResourcePermissions> principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionsResult |
withNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve this list.
|
ListPermissionsResult |
withPrincipalResourcePermissions(Collection<PrincipalResourcePermissions> principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
|
ListPermissionsResult |
withPrincipalResourcePermissions(PrincipalResourcePermissions... principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PrincipalResourcePermissions> getPrincipalResourcePermissions()
A list of principals and their permissions on the resource for the specified principal and resource types.
public void setPrincipalResourcePermissions(Collection<PrincipalResourcePermissions> principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
principalResourcePermissions
- A list of principals and their permissions on the resource for the specified principal and resource types.public ListPermissionsResult withPrincipalResourcePermissions(PrincipalResourcePermissions... principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
NOTE: This method appends the values to the existing list (if any). Use
setPrincipalResourcePermissions(java.util.Collection)
or
withPrincipalResourcePermissions(java.util.Collection)
if you want to override the existing values.
principalResourcePermissions
- A list of principals and their permissions on the resource for the specified principal and resource types.public ListPermissionsResult withPrincipalResourcePermissions(Collection<PrincipalResourcePermissions> principalResourcePermissions)
A list of principals and their permissions on the resource for the specified principal and resource types.
principalResourcePermissions
- A list of principals and their permissions on the resource for the specified principal and resource types.public void setNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve this list.
nextToken
- A continuation token, if this is not the first call to retrieve this list.public String getNextToken()
A continuation token, if this is not the first call to retrieve this list.
public ListPermissionsResult withNextToken(String nextToken)
A continuation token, if this is not the first call to retrieve this list.
nextToken
- A continuation token, if this is not the first call to retrieve this list.public String toString()
toString
in class Object
Object.toString()
public ListPermissionsResult clone()
Copyright © 2021. All rights reserved.