@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMailboxPermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListMailboxPermissionsResult() |
Modifier and Type | Method and Description |
---|---|
ListMailboxPermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<Permission> |
getPermissions()
One page of the user, group, or resource mailbox permissions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setPermissions(Collection<Permission> permissions)
One page of the user, group, or resource mailbox permissions.
|
String |
toString()
Returns a string representation of this object.
|
ListMailboxPermissionsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListMailboxPermissionsResult |
withPermissions(Collection<Permission> permissions)
One page of the user, group, or resource mailbox permissions.
|
ListMailboxPermissionsResult |
withPermissions(Permission... permissions)
One page of the user, group, or resource mailbox permissions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Permission> getPermissions()
One page of the user, group, or resource mailbox permissions.
public void setPermissions(Collection<Permission> permissions)
One page of the user, group, or resource mailbox permissions.
permissions
- One page of the user, group, or resource mailbox permissions.public ListMailboxPermissionsResult withPermissions(Permission... permissions)
One page of the user, group, or resource mailbox 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
- One page of the user, group, or resource mailbox permissions.public ListMailboxPermissionsResult withPermissions(Collection<Permission> permissions)
One page of the user, group, or resource mailbox permissions.
permissions
- One page of the user, group, or resource mailbox permissions.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. The 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. The value is "null" when there are no more results to return.
public ListMailboxPermissionsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. The value is "null" when there are no more results
to return.public String toString()
toString
in class Object
Object.toString()
public ListMailboxPermissionsResult clone()