Interface CreateElasticsearchDomainRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateElasticsearchDomainRequest.Builder,
,CreateElasticsearchDomainRequest> ElasticsearchRequest.Builder
,SdkBuilder<CreateElasticsearchDomainRequest.Builder,
,CreateElasticsearchDomainRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateElasticsearchDomainRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessPolicies
(String accessPolicies) IAM access policy as a JSON-formatted string.advancedOptions
(Map<String, String> advancedOptions) Option to allow references to indices in an HTTP request body.advancedSecurityOptions
(Consumer<AdvancedSecurityOptionsInput.Builder> advancedSecurityOptions) Specifies advanced security options.advancedSecurityOptions
(AdvancedSecurityOptionsInput advancedSecurityOptions) Specifies advanced security options.autoTuneOptions
(Consumer<AutoTuneOptionsInput.Builder> autoTuneOptions) Specifies Auto-Tune options.autoTuneOptions
(AutoTuneOptionsInput autoTuneOptions) Specifies Auto-Tune options.cognitoOptions
(Consumer<CognitoOptions.Builder> cognitoOptions) Options to specify the Cognito user and identity pools for Kibana authentication.cognitoOptions
(CognitoOptions cognitoOptions) Options to specify the Cognito user and identity pools for Kibana authentication.domainEndpointOptions
(Consumer<DomainEndpointOptions.Builder> domainEndpointOptions) Options to specify configuration that will be applied to the domain endpoint.domainEndpointOptions
(DomainEndpointOptions domainEndpointOptions) Options to specify configuration that will be applied to the domain endpoint.domainName
(String domainName) The name of the Elasticsearch domain that you are creating.ebsOptions
(Consumer<EBSOptions.Builder> ebsOptions) Options to enable, disable and specify the type and size of EBS storage volumes.ebsOptions
(EBSOptions ebsOptions) Options to enable, disable and specify the type and size of EBS storage volumes.elasticsearchClusterConfig
(Consumer<ElasticsearchClusterConfig.Builder> elasticsearchClusterConfig) Configuration options for an Elasticsearch domain.elasticsearchClusterConfig
(ElasticsearchClusterConfig elasticsearchClusterConfig) Configuration options for an Elasticsearch domain.elasticsearchVersion
(String elasticsearchVersion) String of format X.Y to specify version for the Elasticsearch domain eg.encryptionAtRestOptions
(Consumer<EncryptionAtRestOptions.Builder> encryptionAtRestOptions) Specifies the Encryption At Rest Options.encryptionAtRestOptions
(EncryptionAtRestOptions encryptionAtRestOptions) Specifies the Encryption At Rest Options.logPublishingOptions
(Map<LogType, LogPublishingOption> logPublishingOptions) Map ofLogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.logPublishingOptionsWithStrings
(Map<String, LogPublishingOption> logPublishingOptions) Map ofLogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.nodeToNodeEncryptionOptions
(Consumer<NodeToNodeEncryptionOptions.Builder> nodeToNodeEncryptionOptions) Specifies the NodeToNodeEncryptionOptions.nodeToNodeEncryptionOptions
(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions) Specifies the NodeToNodeEncryptionOptions.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotOptions
(Consumer<SnapshotOptions.Builder> snapshotOptions) Option to set time, in UTC format, of the daily automated snapshot.snapshotOptions
(SnapshotOptions snapshotOptions) Option to set time, in UTC format, of the daily automated snapshot.tagList
(Collection<Tag> tagList) A list ofTag
added during domain creation.tagList
(Consumer<Tag.Builder>... tagList) A list ofTag
added during domain creation.A list ofTag
added during domain creation.vpcOptions
(Consumer<VPCOptions.Builder> vpcOptions) Options to specify the subnets and security groups for VPC endpoint.vpcOptions
(VPCOptions vpcOptions) Options to specify the subnets and security groups for VPC endpoint.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticsearch.model.ElasticsearchRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 lowercase letter 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 lowercase letter 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.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticsearchClusterConfig
CreateElasticsearchDomainRequest.Builder elasticsearchClusterConfig(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.
-
elasticsearchClusterConfig
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 method that creates an instance of theElasticsearchClusterConfig.Builder
avoiding the need to create one manually viaElasticsearchClusterConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelasticsearchClusterConfig(ElasticsearchClusterConfig)
.- Parameters:
elasticsearchClusterConfig
- a consumer that will call methods onElasticsearchClusterConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
ebsOptions
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 method that creates an instance of theEBSOptions.Builder
avoiding the need to create one manually viaEBSOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toebsOptions(EBSOptions)
.- Parameters:
ebsOptions
- a consumer that will call methods onEBSOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
snapshotOptions
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 method that creates an instance of theSnapshotOptions.Builder
avoiding the need to create one manually viaSnapshotOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapshotOptions(SnapshotOptions)
.- Parameters:
snapshotOptions
- a consumer that will call methods onSnapshotOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOptions
default 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 method that creates an instance of theVPCOptions.Builder
avoiding the need to create one manually viaVPCOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcOptions(VPCOptions)
.- Parameters:
vpcOptions
- a consumer that will call methods onVPCOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cognitoOptions
Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.
- Parameters:
cognitoOptions
- Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoOptions
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 method that creates an instance of theCognitoOptions.Builder
avoiding the need to create one manually viaCognitoOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocognitoOptions(CognitoOptions)
.- Parameters:
cognitoOptions
- a consumer that will call methods onCognitoOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionAtRestOptions
CreateElasticsearchDomainRequest.Builder encryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions) Specifies the Encryption At Rest Options.
- Parameters:
encryptionAtRestOptions
- Specifies the Encryption At Rest Options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionAtRestOptions
default CreateElasticsearchDomainRequest.Builder encryptionAtRestOptions(Consumer<EncryptionAtRestOptions.Builder> encryptionAtRestOptions) Specifies the Encryption At Rest Options.
This is a convenience method that creates an instance of theEncryptionAtRestOptions.Builder
avoiding the need to create one manually viaEncryptionAtRestOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionAtRestOptions(EncryptionAtRestOptions)
.- Parameters:
encryptionAtRestOptions
- a consumer that will call methods onEncryptionAtRestOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeToNodeEncryptionOptions
CreateElasticsearchDomainRequest.Builder nodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions) Specifies the NodeToNodeEncryptionOptions.
- Parameters:
nodeToNodeEncryptionOptions
- Specifies the NodeToNodeEncryptionOptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeToNodeEncryptionOptions
default CreateElasticsearchDomainRequest.Builder nodeToNodeEncryptionOptions(Consumer<NodeToNodeEncryptionOptions.Builder> nodeToNodeEncryptionOptions) Specifies the NodeToNodeEncryptionOptions.
This is a convenience method that creates an instance of theNodeToNodeEncryptionOptions.Builder
avoiding the need to create one manually viaNodeToNodeEncryptionOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions)
.- Parameters:
nodeToNodeEncryptionOptions
- a consumer that will call methods onNodeToNodeEncryptionOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 istrue
. See Configuration Advanced Options for more information.- Parameters:
advancedOptions
- Option to allow references to indices in an HTTP request body. Must befalse
when 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.
-
logPublishingOptionsWithStrings
CreateElasticsearchDomainRequest.Builder logPublishingOptionsWithStrings(Map<String, LogPublishingOption> logPublishingOptions) Map of
LogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.- Parameters:
logPublishingOptions
- Map ofLogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logPublishingOptions
CreateElasticsearchDomainRequest.Builder logPublishingOptions(Map<LogType, LogPublishingOption> logPublishingOptions) Map of
LogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.- Parameters:
logPublishingOptions
- Map ofLogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEndpointOptions
CreateElasticsearchDomainRequest.Builder domainEndpointOptions(DomainEndpointOptions domainEndpointOptions) Options to specify configuration that will be applied to the domain endpoint.
- Parameters:
domainEndpointOptions
- Options to specify configuration that will be applied to the domain endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEndpointOptions
default CreateElasticsearchDomainRequest.Builder domainEndpointOptions(Consumer<DomainEndpointOptions.Builder> domainEndpointOptions) Options to specify configuration that will be applied to the domain endpoint.
This is a convenience method that creates an instance of theDomainEndpointOptions.Builder
avoiding the need to create one manually viaDomainEndpointOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainEndpointOptions(DomainEndpointOptions)
.- Parameters:
domainEndpointOptions
- a consumer that will call methods onDomainEndpointOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
advancedSecurityOptions
CreateElasticsearchDomainRequest.Builder advancedSecurityOptions(AdvancedSecurityOptionsInput advancedSecurityOptions) Specifies advanced security options.
- Parameters:
advancedSecurityOptions
- Specifies advanced security options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedSecurityOptions
default CreateElasticsearchDomainRequest.Builder advancedSecurityOptions(Consumer<AdvancedSecurityOptionsInput.Builder> advancedSecurityOptions) Specifies advanced security options.
This is a convenience method that creates an instance of theAdvancedSecurityOptionsInput.Builder
avoiding the need to create one manually viaAdvancedSecurityOptionsInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadvancedSecurityOptions(AdvancedSecurityOptionsInput)
.- Parameters:
advancedSecurityOptions
- a consumer that will call methods onAdvancedSecurityOptionsInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoTuneOptions
Specifies Auto-Tune options.
- Parameters:
autoTuneOptions
- Specifies Auto-Tune options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoTuneOptions
default CreateElasticsearchDomainRequest.Builder autoTuneOptions(Consumer<AutoTuneOptionsInput.Builder> autoTuneOptions) Specifies Auto-Tune options.
This is a convenience method that creates an instance of theAutoTuneOptionsInput.Builder
avoiding the need to create one manually viaAutoTuneOptionsInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoTuneOptions(AutoTuneOptionsInput)
.- Parameters:
autoTuneOptions
- a consumer that will call methods onAutoTuneOptionsInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tagList
A list of
Tag
added during domain creation.- Parameters:
tagList
- A list ofTag
added during domain creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
A list of
Tag
added during domain creation.- Parameters:
tagList
- A list ofTag
added during domain creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
A list of
This is a convenience method that creates an instance of theTag
added during domain creation.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagList(List<Tag>)
.- Parameters:
tagList
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateElasticsearchDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateElasticsearchDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-