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:
  • Constructor Details

    • ListIdentitiesRequest

      public ListIdentitiesRequest()
  • Method Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: