@Generated(value="software.amazon.awssdk:codegen") public final class CreateElasticsearchDomainRequest extends ElasticsearchRequest implements ToCopyableBuilder<CreateElasticsearchDomainRequest.Builder,CreateElasticsearchDomainRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateElasticsearchDomainRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
accessPolicies()
IAM access policy as a JSON-formatted string.
|
Map<String,String> |
advancedOptions()
Option to allow references to indices in an HTTP request body.
|
static CreateElasticsearchDomainRequest.Builder |
builder() |
String |
domainName()
The name of the Elasticsearch domain that you are creating.
|
EBSOptions |
ebsOptions()
Options to enable, disable and specify the type and size of EBS storage volumes.
|
ElasticsearchClusterConfig |
elasticsearchClusterConfig()
Configuration options for an Elasticsearch domain.
|
String |
elasticsearchVersion()
String of format X.Y to specify version for the Elasticsearch domain eg.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Map<LogType,LogPublishingOption> |
logPublishingOptions()
Map of
LogType and LogPublishingOption , each containing options to publish a given type
of Elasticsearch log. |
Map<String,LogPublishingOption> |
logPublishingOptionsAsStrings()
Map of
LogType and LogPublishingOption , each containing options to publish a given type
of Elasticsearch log. |
static Class<? extends CreateElasticsearchDomainRequest.Builder> |
serializableBuilderClass() |
SnapshotOptions |
snapshotOptions()
Option to set time, in UTC format, of the daily automated snapshot.
|
CreateElasticsearchDomainRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
VPCOptions |
vpcOptions()
Options to specify the subnets and security groups for VPC endpoint.
|
overrideConfiguration
copy
public 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).
public String elasticsearchVersion()
String of format X.Y to specify version for the Elasticsearch domain eg. "1.5" or "2.3". For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
public ElasticsearchClusterConfig elasticsearchClusterConfig()
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
public EBSOptions ebsOptions()
Options to enable, disable and specify the type and size of EBS storage volumes.
public String accessPolicies()
IAM access policy as a JSON-formatted string.
public SnapshotOptions snapshotOptions()
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
public VPCOptions vpcOptions()
Options to specify the subnets and security groups for VPC endpoint. For more information, see Creating a VPC in VPC Endpoints for Amazon Elasticsearch Service Domains
public Map<String,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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
false
when
configuring access to individual sub-resources. By default, the value is true
. See Configuration Advanced Options for more information.public Map<LogType,LogPublishingOption> logPublishingOptions()
Map of LogType
and LogPublishingOption
, each containing options to publish a given type
of Elasticsearch log.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
LogType
and LogPublishingOption
, each containing options to publish a
given type of Elasticsearch log.public Map<String,LogPublishingOption> logPublishingOptionsAsStrings()
Map of LogType
and LogPublishingOption
, each containing options to publish a given type
of Elasticsearch log.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
LogType
and LogPublishingOption
, each containing options to publish a
given type of Elasticsearch log.public CreateElasticsearchDomainRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateElasticsearchDomainRequest.Builder,CreateElasticsearchDomainRequest>
toBuilder
in class ElasticsearchRequest
public static CreateElasticsearchDomainRequest.Builder builder()
public static Class<? extends CreateElasticsearchDomainRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.