Class UpdateAvailabilityOptionsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudsearchv2.model.UpdateAvailabilityOptionsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class UpdateAvailabilityOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Container for the parameters to the UpdateAvailabilityOptions operation. Specifies the name of the domain you want to update and the Multi-AZ availability option.

See Also:
  • Constructor Details

    • UpdateAvailabilityOptionsRequest

      public UpdateAvailabilityOptionsRequest()
  • Method Details

    • setDomainName

      public void setDomainName(String domainName)
      Parameters:
      domainName -
    • getDomainName

      public String getDomainName()
      Returns:
    • withDomainName

      public UpdateAvailabilityOptionsRequest withDomainName(String domainName)
      Parameters:
      domainName -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMultiAZ

      public void setMultiAZ(Boolean multiAZ)

      You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false.

      Parameters:
      multiAZ - You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false.
    • getMultiAZ

      public Boolean getMultiAZ()

      You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false.

      Returns:
      You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false.
    • withMultiAZ

      public UpdateAvailabilityOptionsRequest withMultiAZ(Boolean multiAZ)

      You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false.

      Parameters:
      multiAZ - You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isMultiAZ

      public Boolean isMultiAZ()

      You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false.

      Returns:
      You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option to downgrade the domain to a single Availability Zone by setting the Multi-AZ option to false.
    • 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

      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: