@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()
The token to use to retrieve the next page of results.
|
List<ResourceSharePermissionSummary> |
getPermissions()
Information about the permissions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setPermissions(Collection<ResourceSharePermissionSummary> permissions)
Information about the permissions.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListPermissionsResult |
withPermissions(Collection<ResourceSharePermissionSummary> permissions)
Information about the permissions.
|
ListPermissionsResult |
withPermissions(ResourceSharePermissionSummary... permissions)
Information about the permissions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ResourceSharePermissionSummary> getPermissions()
Information about the permissions.
public void setPermissions(Collection<ResourceSharePermissionSummary> permissions)
Information about the permissions.
permissions - Information about the permissions.public ListPermissionsResult withPermissions(ResourceSharePermissionSummary... permissions)
Information about the permissions.
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 - Information about the permissions.public ListPermissionsResult withPermissions(Collection<ResourceSharePermissionSummary> permissions)
Information about the permissions.
permissions - Information about the permissions.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null when there are no more
results to return.
null when there are no
more results to return.public ListPermissionsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no
more results to return.public String toString()
toString in class ObjectObject.toString()public ListPermissionsResult clone()