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 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; useful for testing and debugging.ListIdentitiesResult
withIdentities(String... identities)
A list of identities.ListIdentitiesResult
withIdentities(Collection<String> identities)
A list of identities.ListIdentitiesResult
withNextToken(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListIdentitiesResult clone()
-
-