@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListIdentitiesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A list of all identities that you have attempted to verify under your Amazon Web Services account, regardless of verification status.
Constructor and Description |
---|
ListIdentitiesResult() |
Modifier and Type | Method and Description |
---|---|
ListIdentitiesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getIdentities()
A list of identities.
|
String |
getNextToken()
The token used for pagination.
|
int |
hashCode() |
void |
setIdentities(Collection<String> identities)
A list of identities.
|
void |
setNextToken(String nextToken)
The token used for pagination.
|
String |
toString()
Returns a string representation of this object.
|
ListIdentitiesResult |
withIdentities(Collection<String> identities)
A list of identities.
|
ListIdentitiesResult |
withIdentities(String... identities)
A list of identities.
|
ListIdentitiesResult |
withNextToken(String nextToken)
The token used for pagination.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getIdentities()
A list of identities.
public void setIdentities(Collection<String> identities)
A list of identities.
identities
- A list of identities.public ListIdentitiesResult withIdentities(String... identities)
A list of identities.
NOTE: This method appends the values to the existing list (if any). Use
setIdentities(java.util.Collection)
or withIdentities(java.util.Collection)
if you want to
override the existing values.
identities
- A list of identities.public ListIdentitiesResult withIdentities(Collection<String> identities)
A list of identities.
identities
- A list of identities.public void setNextToken(String nextToken)
The token used for pagination.
nextToken
- The token used for pagination.public String getNextToken()
The token used for pagination.
public ListIdentitiesResult withNextToken(String nextToken)
The token used for pagination.
nextToken
- The token used for pagination.public String toString()
toString
in class Object
Object.toString()
public ListIdentitiesResult clone()