Class CreateElasticsearchDomainRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticsearch.model.CreateElasticsearchDomainRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateElasticsearchDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateElasticsearchDomainRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateElasticsearchDomainRequestaddAdvancedOptionsEntry(String key, String value)CreateElasticsearchDomainRequestclearAdvancedOptionsEntries()Removes all the entries added into AdvancedOptions.CreateElasticsearchDomainRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAccessPolicies()IAM access policy as a JSON-formatted string.Map<String,String>getAdvancedOptions()Option to allow references to indices in an HTTP request body.StringgetDomainName()The name of the Elasticsearch domain that you are creating.EBSOptionsgetEBSOptions()Options to enable, disable and specify the type and size of EBS storage volumes.ElasticsearchClusterConfiggetElasticsearchClusterConfig()Configuration options for an Elasticsearch domain.SnapshotOptionsgetSnapshotOptions()Option to set time, in UTC format, of the daily automated snapshot.inthashCode()voidsetAccessPolicies(String accessPolicies)IAM access policy as a JSON-formatted string.voidsetAdvancedOptions(Map<String,String> advancedOptions)Option to allow references to indices in an HTTP request body.voidsetDomainName(String domainName)The name of the Elasticsearch domain that you are creating.voidsetEBSOptions(EBSOptions eBSOptions)Options to enable, disable and specify the type and size of EBS storage volumes.voidsetElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)Configuration options for an Elasticsearch domain.voidsetSnapshotOptions(SnapshotOptions snapshotOptions)Option to set time, in UTC format, of the daily automated snapshot.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateElasticsearchDomainRequestwithAccessPolicies(String accessPolicies)IAM access policy as a JSON-formatted string.CreateElasticsearchDomainRequestwithAdvancedOptions(Map<String,String> advancedOptions)Option to allow references to indices in an HTTP request body.CreateElasticsearchDomainRequestwithDomainName(String domainName)The name of the Elasticsearch domain that you are creating.CreateElasticsearchDomainRequestwithEBSOptions(EBSOptions eBSOptions)Options to enable, disable and specify the type and size of EBS storage volumes.CreateElasticsearchDomainRequestwithElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)Configuration options for an Elasticsearch domain.CreateElasticsearchDomainRequestwithSnapshotOptions(SnapshotOptions snapshotOptions)Option to set time, in UTC format, of 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 creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
- Parameters:
domainName- The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
-
getDomainName
public String getDomainName()
The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
- Returns:
- The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
-
withDomainName
public CreateElasticsearchDomainRequest withDomainName(String domainName)
The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
- Parameters:
domainName- The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setElasticsearchClusterConfig
public void setElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
- Parameters:
elasticsearchClusterConfig- Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
-
getElasticsearchClusterConfig
public ElasticsearchClusterConfig getElasticsearchClusterConfig()
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
- Returns:
- Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
-
withElasticsearchClusterConfig
public CreateElasticsearchDomainRequest withElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
- Parameters:
elasticsearchClusterConfig- Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEBSOptions
public void setEBSOptions(EBSOptions eBSOptions)
Options to enable, disable and specify the type and size of EBS storage volumes.
- Parameters:
eBSOptions- Options to enable, disable and specify the type and size of EBS storage volumes.
-
getEBSOptions
public EBSOptions getEBSOptions()
Options to enable, disable and specify the type and size of EBS storage volumes.
- Returns:
- Options to enable, disable and specify the type and size of EBS storage volumes.
-
withEBSOptions
public CreateElasticsearchDomainRequest withEBSOptions(EBSOptions eBSOptions)
Options to enable, disable and specify the type and size of EBS storage volumes.
- Parameters:
eBSOptions- Options to enable, disable and specify the type and size of EBS storage volumes.- Returns:
- 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 CreateElasticsearchDomainRequest 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.
-
setSnapshotOptions
public void setSnapshotOptions(SnapshotOptions snapshotOptions)
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
- Parameters:
snapshotOptions- Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
-
getSnapshotOptions
public SnapshotOptions getSnapshotOptions()
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
- Returns:
- Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
-
withSnapshotOptions
public CreateElasticsearchDomainRequest withSnapshotOptions(SnapshotOptions snapshotOptions)
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
- Parameters:
snapshotOptions- Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAdvancedOptions
public Map<String,String> getAdvancedOptions()
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:
- 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)
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- 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 CreateElasticsearchDomainRequest withAdvancedOptions(Map<String,String> advancedOptions)
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- 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 CreateElasticsearchDomainRequest addAdvancedOptionsEntry(String key, String value)
-
clearAdvancedOptionsEntries
public CreateElasticsearchDomainRequest clearAdvancedOptionsEntries()
Removes all the entries added into AdvancedOptions. <p> 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 CreateElasticsearchDomainRequest 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()
-
-