Class ListIdentitiesResult
- java.lang.Object
-
- com.amazonaws.services.simpleemail.model.ListIdentitiesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListIdentitiesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListIdentitiesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIdentitiesResultclone()booleanequals(Object obj)List<String>getIdentities()A list of identities.StringgetNextToken()The token used for pagination.inthashCode()voidsetIdentities(Collection<String> identities)A list of identities.voidsetNextToken(String nextToken)The token used for pagination.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListIdentitiesResultwithIdentities(String... identities)A list of identities.ListIdentitiesResultwithIdentities(Collection<String> identities)A list of identities.ListIdentitiesResultwithNextToken(String nextToken)The token used for pagination.
-
-
-
Method Detail
-
getIdentities
public List<String> getIdentities()
A list of identities.
- Returns:
- A list of identities.
-
setIdentities
public void setIdentities(Collection<String> identities)
A list of identities.
- Parameters:
identities- A list of identities.
-
withIdentities
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)orwithIdentities(java.util.Collection)if you want to override the existing values.- Parameters:
identities- A list of identities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withIdentities
public ListIdentitiesResult withIdentities(Collection<String> identities)
A list of identities.
- Parameters:
identities- A list of identities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token used for pagination.
- Parameters:
nextToken- The token used for pagination.
-
getNextToken
public String getNextToken()
The token used for pagination.
- Returns:
- The token used for pagination.
-
withNextToken
public ListIdentitiesResult withNextToken(String nextToken)
The token used for pagination.
- Parameters:
nextToken- The token used for pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListIdentitiesResult clone()
-
-