/**
  * The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this
  * parameter is omitted, then all identities will be listed.
  *
  * <p>Returns a reference to this object so that method calls can be chained together.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>EmailAddress, Domain
  *
  * @param 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 IdentityType
  */
 public ListIdentitiesRequest withIdentityType(IdentityType identityType) {
   this.identityType = identityType.toString();
   return this;
 }
 /**
  * The type of the identities to list. Possible values are "EmailAddress" and "Domain". If this
  * parameter is omitted, then all identities will be listed.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>EmailAddress, Domain
  *
  * @param 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 IdentityType
  */
 public void setIdentityType(IdentityType identityType) {
   this.identityType = identityType.toString();
 }