public class CreateElasticsearchDomainRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
accessPolicies
IAM access policy as a JSON-formatted string.
|
private java.util.Map<java.lang.String,java.lang.String> |
advancedOptions
Option to allow references to indices in an HTTP request body.
|
private java.lang.String |
domainName
The name of the Elasticsearch domain that you are creating.
|
private EBSOptions |
eBSOptions
Options to enable, disable and specify the type and size of EBS storage
volumes.
|
private ElasticsearchClusterConfig |
elasticsearchClusterConfig
Configuration options for an Elasticsearch domain.
|
private SnapshotOptions |
snapshotOptions
Option to set time, in UTC format, of the daily automated snapshot.
|
NOOP
Constructor and Description |
---|
CreateElasticsearchDomainRequest() |
Modifier and Type | Method and Description |
---|---|
CreateElasticsearchDomainRequest |
addAdvancedOptionsEntry(java.lang.String key,
java.lang.String value) |
CreateElasticsearchDomainRequest |
clearAdvancedOptionsEntries()
Removes all the entries added into AdvancedOptions.
|
CreateElasticsearchDomainRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccessPolicies()
IAM access policy as a JSON-formatted string.
|
java.util.Map<java.lang.String,java.lang.String> |
getAdvancedOptions()
Option to allow references to indices in an HTTP request body.
|
java.lang.String |
getDomainName()
The name of the Elasticsearch domain that you are creating.
|
EBSOptions |
getEBSOptions()
Options to enable, disable and specify the type and size of EBS storage
volumes.
|
ElasticsearchClusterConfig |
getElasticsearchClusterConfig()
Configuration options for an Elasticsearch domain.
|
SnapshotOptions |
getSnapshotOptions()
Option to set time, in UTC format, of the daily automated snapshot.
|
int |
hashCode() |
void |
setAccessPolicies(java.lang.String accessPolicies)
IAM access policy as a JSON-formatted string.
|
void |
setAdvancedOptions(java.util.Map<java.lang.String,java.lang.String> advancedOptions)
Option to allow references to indices in an HTTP request body.
|
void |
setDomainName(java.lang.String domainName)
The name of the Elasticsearch domain that you are creating.
|
void |
setEBSOptions(EBSOptions eBSOptions)
Options to enable, disable and specify the type and size of EBS storage
volumes.
|
void |
setElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
Configuration options for an Elasticsearch domain.
|
void |
setSnapshotOptions(SnapshotOptions snapshotOptions)
Option to set time, in UTC format, of the daily automated snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateElasticsearchDomainRequest |
withAccessPolicies(java.lang.String accessPolicies)
IAM access policy as a JSON-formatted string.
|
CreateElasticsearchDomainRequest |
withAdvancedOptions(java.util.Map<java.lang.String,java.lang.String> advancedOptions)
Option to allow references to indices in an HTTP request body.
|
CreateElasticsearchDomainRequest |
withDomainName(java.lang.String domainName)
The name of the Elasticsearch domain that you are creating.
|
CreateElasticsearchDomainRequest |
withEBSOptions(EBSOptions eBSOptions)
Options to enable, disable and specify the type and size of EBS storage
volumes.
|
CreateElasticsearchDomainRequest |
withElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
Configuration options for an Elasticsearch domain.
|
CreateElasticsearchDomainRequest |
withSnapshotOptions(SnapshotOptions snapshotOptions)
Option to set time, in UTC format, of the daily automated snapshot.
|
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
private java.lang.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).
private ElasticsearchClusterConfig elasticsearchClusterConfig
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
private EBSOptions eBSOptions
Options to enable, disable and specify the type and size of EBS storage volumes.
private java.lang.String accessPolicies
IAM access policy as a JSON-formatted string.
private SnapshotOptions snapshotOptions
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
private java.util.Map<java.lang.String,java.lang.String> advancedOptions
Option to allow references to indices in an HTTP request body. Must be
false
when configuring access to individual sub-resources.
By default, the value is true
. See Configuration Advanced Options for more information.
public void setDomainName(java.lang.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).
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).public java.lang.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).
public CreateElasticsearchDomainRequest withDomainName(java.lang.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).
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).public void setElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
elasticsearchClusterConfig
- Configuration options for an Elasticsearch domain. Specifies the
instance type and number of instances in the domain cluster.public ElasticsearchClusterConfig getElasticsearchClusterConfig()
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
public CreateElasticsearchDomainRequest withElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
elasticsearchClusterConfig
- Configuration options for an Elasticsearch domain. Specifies the
instance type and number of instances in the domain cluster.public void setEBSOptions(EBSOptions eBSOptions)
Options to enable, disable and specify the type and size of EBS storage volumes.
eBSOptions
- Options to enable, disable and specify the type and size of EBS
storage volumes.public EBSOptions getEBSOptions()
Options to enable, disable and specify the type and size of EBS storage volumes.
public CreateElasticsearchDomainRequest withEBSOptions(EBSOptions eBSOptions)
Options to enable, disable and specify the type and size of EBS storage volumes.
eBSOptions
- Options to enable, disable and specify the type and size of EBS
storage volumes.public void setAccessPolicies(java.lang.String accessPolicies)
IAM access policy as a JSON-formatted string.
accessPolicies
- IAM access policy as a JSON-formatted string.public java.lang.String getAccessPolicies()
IAM access policy as a JSON-formatted string.
public CreateElasticsearchDomainRequest withAccessPolicies(java.lang.String accessPolicies)
IAM access policy as a JSON-formatted string.
accessPolicies
- IAM access policy as a JSON-formatted string.public void setSnapshotOptions(SnapshotOptions snapshotOptions)
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
snapshotOptions
- Option to set time, in UTC format, of the daily automated
snapshot. Default value is 0 hours.public SnapshotOptions getSnapshotOptions()
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
public CreateElasticsearchDomainRequest withSnapshotOptions(SnapshotOptions snapshotOptions)
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
snapshotOptions
- Option to set time, in UTC format, of the daily automated
snapshot. Default value is 0 hours.public java.util.Map<java.lang.String,java.lang.String> getAdvancedOptions()
Option to allow references to indices in an HTTP request body. Must be
false
when configuring access to individual sub-resources.
By default, the value is true
. See Configuration Advanced Options for more information.
false
when configuring access to individual
sub-resources. By default, the value is true
. See Configuration Advanced Options for more
information.public void setAdvancedOptions(java.util.Map<java.lang.String,java.lang.String> advancedOptions)
Option to allow references to indices in an HTTP request body. Must be
false
when configuring access to individual sub-resources.
By default, the value is true
. See Configuration Advanced Options for more information.
advancedOptions
- Option to allow references to indices in an HTTP request body.
Must be false
when configuring access to individual
sub-resources. By default, the value is true
. See Configuration Advanced Options for more
information.public CreateElasticsearchDomainRequest withAdvancedOptions(java.util.Map<java.lang.String,java.lang.String> advancedOptions)
Option to allow references to indices in an HTTP request body. Must be
false
when configuring access to individual sub-resources.
By default, the value is true
. See Configuration Advanced Options for more information.
advancedOptions
- Option to allow references to indices in an HTTP request body.
Must be false
when configuring access to individual
sub-resources. By default, the value is true
. See Configuration Advanced Options for more
information.public CreateElasticsearchDomainRequest addAdvancedOptionsEntry(java.lang.String key, java.lang.String value)
public CreateElasticsearchDomainRequest clearAdvancedOptionsEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateElasticsearchDomainRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()