public static interface CreateElasticsearchDomainRequest.Builder extends ElasticsearchRequest.Builder, CopyableBuilder<CreateElasticsearchDomainRequest.Builder,CreateElasticsearchDomainRequest>
Modifier and Type | Method and Description |
---|---|
CreateElasticsearchDomainRequest.Builder |
accessPolicies(String accessPolicies)
IAM access policy as a JSON-formatted string.
|
CreateElasticsearchDomainRequest.Builder |
advancedOptions(Map<String,String> advancedOptions)
Option to allow references to indices in an HTTP request body.
|
CreateElasticsearchDomainRequest.Builder |
domainName(String domainName)
The name of the Elasticsearch domain that you are creating.
|
default CreateElasticsearchDomainRequest.Builder |
ebsOptions(Consumer<EBSOptions.Builder> ebsOptions)
Options to enable, disable and specify the type and size of EBS storage volumes.
|
CreateElasticsearchDomainRequest.Builder |
ebsOptions(EBSOptions ebsOptions)
Options to enable, disable and specify the type and size of EBS storage volumes.
|
default CreateElasticsearchDomainRequest.Builder |
elasticsearchClusterConfig(Consumer<ElasticsearchClusterConfig.Builder> elasticsearchClusterConfig)
Configuration options for an Elasticsearch domain.
|
CreateElasticsearchDomainRequest.Builder |
elasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
Configuration options for an Elasticsearch domain.
|
CreateElasticsearchDomainRequest.Builder |
elasticsearchVersion(String elasticsearchVersion)
String of format X.Y to specify version for the Elasticsearch domain eg.
|
CreateElasticsearchDomainRequest.Builder |
logPublishingOptions(Map<LogType,LogPublishingOption> logPublishingOptions)
Map of
LogType and LogPublishingOption , each containing options to publish a given
type of Elasticsearch log. |
CreateElasticsearchDomainRequest.Builder |
logPublishingOptionsWithStrings(Map<String,LogPublishingOption> logPublishingOptions)
Map of
LogType and LogPublishingOption , each containing options to publish a given
type of Elasticsearch log. |
CreateElasticsearchDomainRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateElasticsearchDomainRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateElasticsearchDomainRequest.Builder |
snapshotOptions(Consumer<SnapshotOptions.Builder> snapshotOptions)
Option to set time, in UTC format, of the daily automated snapshot.
|
CreateElasticsearchDomainRequest.Builder |
snapshotOptions(SnapshotOptions snapshotOptions)
Option to set time, in UTC format, of the daily automated snapshot.
|
default CreateElasticsearchDomainRequest.Builder |
vpcOptions(Consumer<VPCOptions.Builder> vpcOptions)
Options to specify the subnets and security groups for VPC endpoint.
|
CreateElasticsearchDomainRequest.Builder |
vpcOptions(VPCOptions vpcOptions)
Options to specify the subnets and security groups for VPC endpoint.
|
build
overrideConfiguration
copy
applyMutation, build
CreateElasticsearchDomainRequest.Builder domainName(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).CreateElasticsearchDomainRequest.Builder elasticsearchVersion(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.
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.CreateElasticsearchDomainRequest.Builder elasticsearchClusterConfig(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.default CreateElasticsearchDomainRequest.Builder elasticsearchClusterConfig(Consumer<ElasticsearchClusterConfig.Builder> elasticsearchClusterConfig)
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
This is a convenience that creates an instance of theElasticsearchClusterConfig.Builder
avoiding the
need to create one manually via ElasticsearchClusterConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to elasticsearchClusterConfig(ElasticsearchClusterConfig)
.elasticsearchClusterConfig
- a consumer that will call methods on ElasticsearchClusterConfig.Builder
elasticsearchClusterConfig(ElasticsearchClusterConfig)
CreateElasticsearchDomainRequest.Builder ebsOptions(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.default CreateElasticsearchDomainRequest.Builder ebsOptions(Consumer<EBSOptions.Builder> ebsOptions)
Options to enable, disable and specify the type and size of EBS storage volumes.
This is a convenience that creates an instance of theEBSOptions.Builder
avoiding the need to create
one manually via EBSOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to ebsOptions(EBSOptions)
.ebsOptions
- a consumer that will call methods on EBSOptions.Builder
ebsOptions(EBSOptions)
CreateElasticsearchDomainRequest.Builder accessPolicies(String accessPolicies)
IAM access policy as a JSON-formatted string.
accessPolicies
- IAM access policy as a JSON-formatted string.CreateElasticsearchDomainRequest.Builder snapshotOptions(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.default CreateElasticsearchDomainRequest.Builder snapshotOptions(Consumer<SnapshotOptions.Builder> snapshotOptions)
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
This is a convenience that creates an instance of theSnapshotOptions.Builder
avoiding the need to
create one manually via SnapshotOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to snapshotOptions(SnapshotOptions)
.snapshotOptions
- a consumer that will call methods on SnapshotOptions.Builder
snapshotOptions(SnapshotOptions)
CreateElasticsearchDomainRequest.Builder vpcOptions(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
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 Domainsdefault CreateElasticsearchDomainRequest.Builder vpcOptions(Consumer<VPCOptions.Builder> 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
This is a convenience that creates an instance of theVPCOptions.Builder
avoiding the need to create
one manually via VPCOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to vpcOptions(VPCOptions)
.vpcOptions
- a consumer that will call methods on VPCOptions.Builder
vpcOptions(VPCOptions)
CreateElasticsearchDomainRequest.Builder advancedOptions(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.
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.CreateElasticsearchDomainRequest.Builder logPublishingOptionsWithStrings(Map<String,LogPublishingOption> logPublishingOptions)
Map of LogType
and LogPublishingOption
, each containing options to publish a given
type of Elasticsearch log.
logPublishingOptions
- Map of LogType
and LogPublishingOption
, each containing options to publish a
given type of Elasticsearch log.CreateElasticsearchDomainRequest.Builder logPublishingOptions(Map<LogType,LogPublishingOption> logPublishingOptions)
Map of LogType
and LogPublishingOption
, each containing options to publish a given
type of Elasticsearch log.
logPublishingOptions
- Map of LogType
and LogPublishingOption
, each containing options to publish a
given type of Elasticsearch log.CreateElasticsearchDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateElasticsearchDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.