@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListImpersonationRolesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListImpersonationRolesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListImpersonationRolesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to retrieve the next page of results.
|
List<ImpersonationRole> |
getRoles()
The list of impersonation roles under the given WorkMail organization.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to retrieve the next page of results.
|
void |
setRoles(Collection<ImpersonationRole> roles)
The list of impersonation roles under the given WorkMail organization.
|
String |
toString()
Returns a string representation of this object.
|
ListImpersonationRolesResult |
withNextToken(String nextToken)
The token to retrieve the next page of results.
|
ListImpersonationRolesResult |
withRoles(Collection<ImpersonationRole> roles)
The list of impersonation roles under the given WorkMail organization.
|
ListImpersonationRolesResult |
withRoles(ImpersonationRole... roles)
The list of impersonation roles under the given WorkMail organization.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ImpersonationRole> getRoles()
The list of impersonation roles under the given WorkMail organization.
public void setRoles(Collection<ImpersonationRole> roles)
The list of impersonation roles under the given WorkMail organization.
roles - The list of impersonation roles under the given WorkMail organization.public ListImpersonationRolesResult withRoles(ImpersonationRole... roles)
The list of impersonation roles under the given WorkMail organization.
NOTE: This method appends the values to the existing list (if any). Use
setRoles(java.util.Collection) or withRoles(java.util.Collection) if you want to override the
existing values.
roles - The list of impersonation roles under the given WorkMail organization.public ListImpersonationRolesResult withRoles(Collection<ImpersonationRole> roles)
The list of impersonation roles under the given WorkMail organization.
roles - The list of impersonation roles under the given WorkMail organization.public void setNextToken(String nextToken)
The token to retrieve the next page of results. The value is null when there are no results to
return.
nextToken - The token to retrieve the next page of results. The value is null when there are no results
to return.public String getNextToken()
The token to retrieve the next page of results. The value is null when there are no results to
return.
null when there are no results
to return.public ListImpersonationRolesResult withNextToken(String nextToken)
The token to retrieve the next page of results. The value is null when there are no results to
return.
nextToken - The token to retrieve the next page of results. The value is null when there are no results
to return.public String toString()
toString in class ObjectObject.toString()public ListImpersonationRolesResult clone()