com.amazonaws.services.simpleemail.model
Class ListIdentitiesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpleemail.model.ListIdentitiesRequest

public class ListIdentitiesRequest
extends AmazonWebServiceRequest

Container for the parameters to the ListIdentities operation.

Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.

See Also:
AmazonSimpleEmailService.listIdentities(ListIdentitiesRequest)

Constructor Summary
ListIdentitiesRequest()
           
 
Method Summary
 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
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListIdentitiesRequest

public ListIdentitiesRequest()
Method Detail

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.

Constraints:
Allowed Values: EmailAddress, Domain

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

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.

Constraints:
Allowed Values: EmailAddress, Domain

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(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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: EmailAddress, Domain

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:
A reference to this updated 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.

Constraints:
Allowed Values: EmailAddress, Domain

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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: EmailAddress, Domain

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:
A reference to this updated object so that method calls can be chained together.
See Also:
IdentityType

getNextToken

public String getNextToken()
The token to use for pagination.

Returns:
The token to use for pagination.

setNextToken

public void setNextToken(String nextToken)
The token to use for pagination.

Parameters:
nextToken - The token to use for pagination.

withNextToken

public ListIdentitiesRequest withNextToken(String nextToken)
The token to use for pagination.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextToken - The token to use for pagination.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxItems

public Integer getMaxItems()
The maximum number of identities per page. Possible values are 1-100 inclusive.

Returns:
The maximum number of identities per page. Possible values are 1-100 inclusive.

setMaxItems

public void setMaxItems(Integer maxItems)
The maximum number of identities per page. Possible values are 1-100 inclusive.

Parameters:
maxItems - The maximum number of identities per page. Possible values are 1-100 inclusive.

withMaxItems

public ListIdentitiesRequest withMaxItems(Integer maxItems)
The maximum number of identities per page. Possible values are 1-100 inclusive.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxItems - The maximum number of identities per page. Possible values are 1-100 inclusive.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.