Class UpdateElasticsearchDomainConfigRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticsearch.model.UpdateElasticsearchDomainConfigRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateElasticsearchDomainConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the
UpdateElasticsearchDomainoperation. Specifies the type and number of instances in the domain cluster.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateElasticsearchDomainConfigRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateElasticsearchDomainConfigRequestaddAdvancedOptionsEntry(String key, String value)UpdateElasticsearchDomainConfigRequestclearAdvancedOptionsEntries()Removes all the entries added into AdvancedOptions.UpdateElasticsearchDomainConfigRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAccessPolicies()IAM access policy as a JSON-formatted string.Map<String,String>getAdvancedOptions()Modifies the advanced option to allow references to indices in an HTTP request body.StringgetDomainName()The name of the Elasticsearch domain that you are updating.EBSOptionsgetEBSOptions()Specify the type and size of the EBS volume that you want to use.ElasticsearchClusterConfiggetElasticsearchClusterConfig()The type and number of instances to instantiate for the domain cluster.SnapshotOptionsgetSnapshotOptions()Option to set the time, in UTC format, for the daily automated snapshot.inthashCode()voidsetAccessPolicies(String accessPolicies)IAM access policy as a JSON-formatted string.voidsetAdvancedOptions(Map<String,String> advancedOptions)Modifies the advanced option to allow references to indices in an HTTP request body.voidsetDomainName(String domainName)The name of the Elasticsearch domain that you are updating.voidsetEBSOptions(EBSOptions eBSOptions)Specify the type and size of the EBS volume that you want to use.voidsetElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)The type and number of instances to instantiate for the domain cluster.voidsetSnapshotOptions(SnapshotOptions snapshotOptions)Option to set the time, in UTC format, for the daily automated snapshot.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateElasticsearchDomainConfigRequestwithAccessPolicies(String accessPolicies)IAM access policy as a JSON-formatted string.UpdateElasticsearchDomainConfigRequestwithAdvancedOptions(Map<String,String> advancedOptions)Modifies the advanced option to allow references to indices in an HTTP request body.UpdateElasticsearchDomainConfigRequestwithDomainName(String domainName)The name of the Elasticsearch domain that you are updating.UpdateElasticsearchDomainConfigRequestwithEBSOptions(EBSOptions eBSOptions)Specify the type and size of the EBS volume that you want to use.UpdateElasticsearchDomainConfigRequestwithElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)The type and number of instances to instantiate for the domain cluster.UpdateElasticsearchDomainConfigRequestwithSnapshotOptions(SnapshotOptions snapshotOptions)Option to set the time, in UTC format, for the daily automated snapshot.-
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)
The name of the Elasticsearch domain that you are updating.
- Parameters:
domainName- The name of the Elasticsearch domain that you are updating.
-
getDomainName
public String getDomainName()
The name of the Elasticsearch domain that you are updating.
- Returns:
- The name of the Elasticsearch domain that you are updating.
-
withDomainName
public UpdateElasticsearchDomainConfigRequest withDomainName(String domainName)
The name of the Elasticsearch domain that you are updating.
- Parameters:
domainName- The name of the Elasticsearch domain that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setElasticsearchClusterConfig
public void setElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
The type and number of instances to instantiate for the domain cluster.
- Parameters:
elasticsearchClusterConfig- The type and number of instances to instantiate for the domain cluster.
-
getElasticsearchClusterConfig
public ElasticsearchClusterConfig getElasticsearchClusterConfig()
The type and number of instances to instantiate for the domain cluster.
- Returns:
- The type and number of instances to instantiate for the domain cluster.
-
withElasticsearchClusterConfig
public UpdateElasticsearchDomainConfigRequest withElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
The type and number of instances to instantiate for the domain cluster.
- Parameters:
elasticsearchClusterConfig- The type and number of instances to instantiate for the domain cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEBSOptions
public void setEBSOptions(EBSOptions eBSOptions)
Specify the type and size of the EBS volume that you want to use.
- Parameters:
eBSOptions- Specify the type and size of the EBS volume that you want to use.
-
getEBSOptions
public EBSOptions getEBSOptions()
Specify the type and size of the EBS volume that you want to use.
- Returns:
- Specify the type and size of the EBS volume that you want to use.
-
withEBSOptions
public UpdateElasticsearchDomainConfigRequest withEBSOptions(EBSOptions eBSOptions)
Specify the type and size of the EBS volume that you want to use.
- Parameters:
eBSOptions- Specify the type and size of the EBS volume that you want to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotOptions
public void setSnapshotOptions(SnapshotOptions snapshotOptions)
Option to set the time, in UTC format, for the daily automated snapshot. Default value is
0hours.- Parameters:
snapshotOptions- Option to set the time, in UTC format, for the daily automated snapshot. Default value is0hours.
-
getSnapshotOptions
public SnapshotOptions getSnapshotOptions()
Option to set the time, in UTC format, for the daily automated snapshot. Default value is
0hours.- Returns:
- Option to set the time, in UTC format, for the daily automated
snapshot. Default value is
0hours.
-
withSnapshotOptions
public UpdateElasticsearchDomainConfigRequest withSnapshotOptions(SnapshotOptions snapshotOptions)
Option to set the time, in UTC format, for the daily automated snapshot. Default value is
0hours.- Parameters:
snapshotOptions- Option to set the time, in UTC format, for the daily automated snapshot. Default value is0hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAdvancedOptions
public Map<String,String> getAdvancedOptions()
Modifies the advanced option to allow references to indices in an HTTP request body. Must be
falsewhen configuring access to individual sub-resources. By default, the value istrue. See Configuration Advanced Options for more information.- Returns:
- Modifies the advanced option to allow references to indices in an
HTTP request body. Must be
falsewhen configuring access to individual sub-resources. By default, the value istrue. See Configuration Advanced Options for more information.
-
setAdvancedOptions
public void setAdvancedOptions(Map<String,String> advancedOptions)
Modifies the advanced option to allow references to indices in an HTTP request body. Must be
falsewhen configuring access to individual sub-resources. By default, the value istrue. See Configuration Advanced Options for more information.- Parameters:
advancedOptions- Modifies the advanced option to allow references to indices in an HTTP request body. Must befalsewhen configuring access to individual sub-resources. By default, the value istrue. See Configuration Advanced Options for more information.
-
withAdvancedOptions
public UpdateElasticsearchDomainConfigRequest withAdvancedOptions(Map<String,String> advancedOptions)
Modifies the advanced option to allow references to indices in an HTTP request body. Must be
falsewhen configuring access to individual sub-resources. By default, the value istrue. See Configuration Advanced Options for more information.- Parameters:
advancedOptions- Modifies the advanced option to allow references to indices in an HTTP request body. Must befalsewhen configuring access to individual sub-resources. By default, the value istrue. See Configuration Advanced Options for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAdvancedOptionsEntry
public UpdateElasticsearchDomainConfigRequest addAdvancedOptionsEntry(String key, String value)
-
clearAdvancedOptionsEntries
public UpdateElasticsearchDomainConfigRequest clearAdvancedOptionsEntries()
Removes all the entries added into AdvancedOptions. <p> Returns a reference to this object so that method calls can be chained together.
-
setAccessPolicies
public void setAccessPolicies(String accessPolicies)
IAM access policy as a JSON-formatted string.
- Parameters:
accessPolicies- IAM access policy as a JSON-formatted string.
-
getAccessPolicies
public String getAccessPolicies()
IAM access policy as a JSON-formatted string.
- Returns:
- IAM access policy as a JSON-formatted string.
-
withAccessPolicies
public UpdateElasticsearchDomainConfigRequest withAccessPolicies(String accessPolicies)
IAM access policy as a JSON-formatted string.
- Parameters:
accessPolicies- IAM access policy as a JSON-formatted string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 UpdateElasticsearchDomainConfigRequest 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()
-
-