public static interface CreateElasticsearchDomainRequest.Builder extends ElasticsearchRequest.Builder, SdkPojo, 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 |
cognitoOptions(CognitoOptions cognitoOptions)
Options to specify the Cognito user and identity pools for Kibana authentication.
|
default CreateElasticsearchDomainRequest.Builder |
cognitoOptions(Consumer<CognitoOptions.Builder> cognitoOptions)
Options to specify the Cognito user and identity pools for Kibana authentication.
|
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.
|
default CreateElasticsearchDomainRequest.Builder |
encryptionAtRestOptions(Consumer<EncryptionAtRestOptions.Builder> encryptionAtRestOptions)
Specifies the Encryption At Rest Options.
|
CreateElasticsearchDomainRequest.Builder |
encryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)
Specifies the Encryption At Rest Options.
|
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. |
default CreateElasticsearchDomainRequest.Builder |
nodeToNodeEncryptionOptions(Consumer<NodeToNodeEncryptionOptions.Builder> nodeToNodeEncryptionOptions)
Specifies the NodeToNodeEncryptionOptions.
|
CreateElasticsearchDomainRequest.Builder |
nodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions)
Specifies the NodeToNodeEncryptionOptions.
|
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 cognitoOptions(CognitoOptions cognitoOptions)
Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.
cognitoOptions
- Options to specify the Cognito user and identity pools for Kibana authentication. For more
information, see Amazon Cognito Authentication for Kibana.default CreateElasticsearchDomainRequest.Builder cognitoOptions(Consumer<CognitoOptions.Builder> cognitoOptions)
Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.
This is a convenience that creates an instance of theCognitoOptions.Builder
avoiding the need to
create one manually via CognitoOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to cognitoOptions(CognitoOptions)
.cognitoOptions
- a consumer that will call methods on CognitoOptions.Builder
cognitoOptions(CognitoOptions)
CreateElasticsearchDomainRequest.Builder encryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)
Specifies the Encryption At Rest Options.
encryptionAtRestOptions
- Specifies the Encryption At Rest Options.default CreateElasticsearchDomainRequest.Builder encryptionAtRestOptions(Consumer<EncryptionAtRestOptions.Builder> encryptionAtRestOptions)
Specifies the Encryption At Rest Options.
This is a convenience that creates an instance of theEncryptionAtRestOptions.Builder
avoiding the
need to create one manually via EncryptionAtRestOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to encryptionAtRestOptions(EncryptionAtRestOptions)
.encryptionAtRestOptions
- a consumer that will call methods on EncryptionAtRestOptions.Builder
encryptionAtRestOptions(EncryptionAtRestOptions)
CreateElasticsearchDomainRequest.Builder nodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions)
Specifies the NodeToNodeEncryptionOptions.
nodeToNodeEncryptionOptions
- Specifies the NodeToNodeEncryptionOptions.default CreateElasticsearchDomainRequest.Builder nodeToNodeEncryptionOptions(Consumer<NodeToNodeEncryptionOptions.Builder> nodeToNodeEncryptionOptions)
Specifies the NodeToNodeEncryptionOptions.
This is a convenience that creates an instance of theNodeToNodeEncryptionOptions.Builder
avoiding
the need to create one manually via NodeToNodeEncryptionOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to nodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions)
.nodeToNodeEncryptionOptions
- a consumer that will call methods on NodeToNodeEncryptionOptions.Builder
nodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions)
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.