@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpgradeDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the request parameters to UpgradeDomain
operation.
NOOP
Constructor and Description |
---|
UpgradeDomainRequest() |
Modifier and Type | Method and Description |
---|---|
UpgradeDomainRequest |
addAdvancedOptionsEntry(String key,
String value)
Add a single AdvancedOptions entry
|
UpgradeDomainRequest |
clearAdvancedOptionsEntries()
Removes all the entries added into AdvancedOptions.
|
UpgradeDomainRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAdvancedOptions() |
String |
getDomainName() |
Boolean |
getPerformCheckOnly()
When true, indicates that an upgrade eligibility check needs to be performed.
|
String |
getTargetVersion()
The version of OpenSearch you intend to upgrade the domain to.
|
int |
hashCode() |
Boolean |
isPerformCheckOnly()
When true, indicates that an upgrade eligibility check needs to be performed.
|
void |
setAdvancedOptions(Map<String,String> advancedOptions) |
void |
setDomainName(String domainName) |
void |
setPerformCheckOnly(Boolean performCheckOnly)
When true, indicates that an upgrade eligibility check needs to be performed.
|
void |
setTargetVersion(String targetVersion)
The version of OpenSearch you intend to upgrade the domain to.
|
String |
toString()
Returns a string representation of this object.
|
UpgradeDomainRequest |
withAdvancedOptions(Map<String,String> advancedOptions) |
UpgradeDomainRequest |
withDomainName(String domainName) |
UpgradeDomainRequest |
withPerformCheckOnly(Boolean performCheckOnly)
When true, indicates that an upgrade eligibility check needs to be performed.
|
UpgradeDomainRequest |
withTargetVersion(String targetVersion)
The version of OpenSearch you intend to upgrade the domain to.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomainName(String domainName)
domainName
- public String getDomainName()
public UpgradeDomainRequest withDomainName(String domainName)
domainName
- public void setTargetVersion(String targetVersion)
The version of OpenSearch you intend to upgrade the domain to.
targetVersion
- The version of OpenSearch you intend to upgrade the domain to.public String getTargetVersion()
The version of OpenSearch you intend to upgrade the domain to.
public UpgradeDomainRequest withTargetVersion(String targetVersion)
The version of OpenSearch you intend to upgrade the domain to.
targetVersion
- The version of OpenSearch you intend to upgrade the domain to.public void setPerformCheckOnly(Boolean performCheckOnly)
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
performCheckOnly
- When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform
the upgrade.public Boolean getPerformCheckOnly()
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
public UpgradeDomainRequest withPerformCheckOnly(Boolean performCheckOnly)
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
performCheckOnly
- When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform
the upgrade.public Boolean isPerformCheckOnly()
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
public void setAdvancedOptions(Map<String,String> advancedOptions)
advancedOptions
- public UpgradeDomainRequest withAdvancedOptions(Map<String,String> advancedOptions)
advancedOptions
- public UpgradeDomainRequest addAdvancedOptionsEntry(String key, String value)
public UpgradeDomainRequest clearAdvancedOptionsEntries()
public String toString()
toString
in class Object
Object.toString()
public UpgradeDomainRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()