public class UpdateAvailabilityOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateAvailabilityOptions operation.
Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide .
NOOP| Constructor and Description |
|---|
UpdateAvailabilityOptionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateAvailabilityOptionsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDomainName()
A string that represents the name of a domain.
|
Boolean |
getMultiAZ()
You expand an existing search domain to a second Availability Zone by
setting the Multi-AZ option to true.
|
int |
hashCode() |
Boolean |
isMultiAZ()
You expand an existing search domain to a second Availability Zone by
setting the Multi-AZ option to true.
|
void |
setDomainName(String domainName)
A string that represents the name of a domain.
|
void |
setMultiAZ(Boolean multiAZ)
You expand an existing search domain to a second Availability Zone by
setting the Multi-AZ option to true.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAvailabilityOptionsRequest |
withDomainName(String domainName)
A string that represents the name of a domain.
|
UpdateAvailabilityOptionsRequest |
withMultiAZ(Boolean multiAZ)
You expand an existing search domain to a second Availability Zone by
setting the Multi-AZ option to true.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getDomainName()
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
public void setDomainName(String domainName)
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
domainName - A string that represents the name of a domain. Domain names are unique
across the domains owned by an account within an AWS region. Domain
names start with a letter or number and can contain the following
characters: a-z (lowercase), 0-9, and - (hyphen).public UpdateAvailabilityOptionsRequest withDomainName(String domainName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
domainName - A string that represents the name of a domain. Domain names are unique
across the domains owned by an account within an AWS region. Domain
names start with a letter or number and can contain the following
characters: a-z (lowercase), 0-9, and - (hyphen).public Boolean isMultiAZ()
false.false.public void setMultiAZ(Boolean multiAZ)
false.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.public UpdateAvailabilityOptionsRequest withMultiAZ(Boolean multiAZ)
false.
Returns a reference to this object so that method calls can be chained together.
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.public Boolean getMultiAZ()
false.false.public String toString()
toString in class ObjectObject.toString()public UpdateAvailabilityOptionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.