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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateAvailabilityOptionsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAvailabilityOptionsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDomainName()
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)
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)
UpdateAvailabilityOptionsRequest
withMultiAZ(Boolean multiAZ)
You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
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 tofalse
.
-
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 tofalse
.- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateAvailabilityOptionsRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-