public class UpdateAvailabilityOptionsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
domainName |
private java.lang.Boolean |
multiAZ
You expand an existing search domain to a second Availability Zone by
setting the Multi-AZ option to true.
|
NOOP
Constructor and Description |
---|
UpdateAvailabilityOptionsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAvailabilityOptionsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomainName() |
java.lang.Boolean |
getMultiAZ()
You expand an existing search domain to a second Availability Zone by
setting the Multi-AZ option to true.
|
int |
hashCode() |
java.lang.Boolean |
isMultiAZ()
You expand an existing search domain to a second Availability Zone by
setting the Multi-AZ option to true.
|
void |
setDomainName(java.lang.String domainName) |
void |
setMultiAZ(java.lang.Boolean multiAZ)
You expand an existing search domain to a second Availability Zone by
setting the Multi-AZ option to true.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAvailabilityOptionsRequest |
withDomainName(java.lang.String domainName) |
UpdateAvailabilityOptionsRequest |
withMultiAZ(java.lang.Boolean multiAZ)
You expand an existing search domain to a second Availability Zone by
setting the Multi-AZ option to true.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String domainName
private java.lang.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
.
public void setDomainName(java.lang.String domainName)
domainName
- public java.lang.String getDomainName()
public UpdateAvailabilityOptionsRequest withDomainName(java.lang.String domainName)
domainName
- public void setMultiAZ(java.lang.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
.
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 java.lang.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
.
false
.public UpdateAvailabilityOptionsRequest withMultiAZ(java.lang.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
.
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 java.lang.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
.
false
.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateAvailabilityOptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()