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
UpdateAvailabilityOptionsoperation. 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 UpdateAvailabilityOptionsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDomainName()BooleangetMultiAZ()You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true.inthashCode()BooleanisMultiAZ()You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true.voidsetDomainName(String domainName)voidsetMultiAZ(Boolean multiAZ)You expand an existing search domain to a second Availability Zone by setting the Multi-AZ option to true.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateAvailabilityOptionsRequestwithDomainName(String domainName)UpdateAvailabilityOptionsRequestwithMultiAZ(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateAvailabilityOptionsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-