Class ListIdentitiesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simpleemail.model.ListIdentitiesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListIdentitiesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListIdentitiesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIdentitiesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getIdentityType()
The type of the identities to list.Integer
getMaxItems()
The maximum number of identities per page.String
getNextToken()
The token to use for pagination.int
hashCode()
void
setIdentityType(IdentityType identityType)
The type of the identities to list.void
setIdentityType(String identityType)
The type of the identities to list.void
setMaxItems(Integer maxItems)
The maximum number of identities per page.void
setNextToken(String nextToken)
The token to use for pagination.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListIdentitiesRequest
withIdentityType(IdentityType identityType)
The type of the identities to list.ListIdentitiesRequest
withIdentityType(String identityType)
The type of the identities to list.ListIdentitiesRequest
withMaxItems(Integer maxItems)
The maximum number of identities per page.ListIdentitiesRequest
withNextToken(String nextToken)
The token to use for pagination.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setIdentityType
public void setIdentityType(String identityType)
The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.
- Parameters:
identityType
- The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.- See Also:
IdentityType
-
getIdentityType
public String getIdentityType()
The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.
- Returns:
- The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.
- See Also:
IdentityType
-
withIdentityType
public ListIdentitiesRequest withIdentityType(String identityType)
The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.
- Parameters:
identityType
- The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IdentityType
-
setIdentityType
public void setIdentityType(IdentityType identityType)
The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.
- Parameters:
identityType
- The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.- See Also:
IdentityType
-
withIdentityType
public ListIdentitiesRequest withIdentityType(IdentityType identityType)
The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.
- Parameters:
identityType
- The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this parameter is omitted, then all identities will be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IdentityType
-
setNextToken
public void setNextToken(String nextToken)
The token to use for pagination.
- Parameters:
nextToken
- The token to use for pagination.
-
getNextToken
public String getNextToken()
The token to use for pagination.
- Returns:
- The token to use for pagination.
-
withNextToken
public ListIdentitiesRequest withNextToken(String nextToken)
The token to use for pagination.
- Parameters:
nextToken
- The token to use for pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
public void setMaxItems(Integer maxItems)
The maximum number of identities per page. Possible values are 1-1000 inclusive.
- Parameters:
maxItems
- The maximum number of identities per page. Possible values are 1-1000 inclusive.
-
getMaxItems
public Integer getMaxItems()
The maximum number of identities per page. Possible values are 1-1000 inclusive.
- Returns:
- The maximum number of identities per page. Possible values are 1-1000 inclusive.
-
withMaxItems
public ListIdentitiesRequest withMaxItems(Integer maxItems)
The maximum number of identities per page. Possible values are 1-1000 inclusive.
- Parameters:
maxItems
- The maximum number of identities per page. Possible values are 1-1000 inclusive.- 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 ListIdentitiesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-