Interface CreateElasticsearchDomainRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateElasticsearchDomainRequest.Builder,CreateElasticsearchDomainRequest>
,ElasticsearchRequest.Builder
,SdkBuilder<CreateElasticsearchDomainRequest.Builder,CreateElasticsearchDomainRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateElasticsearchDomainRequest
public static interface CreateElasticsearchDomainRequest.Builder extends ElasticsearchRequest.Builder, SdkPojo, CopyableBuilder<CreateElasticsearchDomainRequest.Builder,CreateElasticsearchDomainRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.default CreateElasticsearchDomainRequest.Builder
advancedSecurityOptions(Consumer<AdvancedSecurityOptionsInput.Builder> advancedSecurityOptions)
Specifies advanced security options.CreateElasticsearchDomainRequest.Builder
advancedSecurityOptions(AdvancedSecurityOptionsInput advancedSecurityOptions)
Specifies advanced security options.default CreateElasticsearchDomainRequest.Builder
autoTuneOptions(Consumer<AutoTuneOptionsInput.Builder> autoTuneOptions)
Specifies Auto-Tune options.CreateElasticsearchDomainRequest.Builder
autoTuneOptions(AutoTuneOptionsInput autoTuneOptions)
Specifies Auto-Tune options.default CreateElasticsearchDomainRequest.Builder
cognitoOptions(Consumer<CognitoOptions.Builder> cognitoOptions)
Options to specify the Cognito user and identity pools for Kibana authentication.CreateElasticsearchDomainRequest.Builder
cognitoOptions(CognitoOptions cognitoOptions)
Options to specify the Cognito user and identity pools for Kibana authentication.default CreateElasticsearchDomainRequest.Builder
domainEndpointOptions(Consumer<DomainEndpointOptions.Builder> domainEndpointOptions)
Options to specify configuration that will be applied to the domain endpoint.CreateElasticsearchDomainRequest.Builder
domainEndpointOptions(DomainEndpointOptions domainEndpointOptions)
Options to specify configuration that will be applied to the domain endpoint.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 ofLogType
andLogPublishingOption
, each containing options to publish a given type of Elasticsearch log.CreateElasticsearchDomainRequest.Builder
logPublishingOptionsWithStrings(Map<String,LogPublishingOption> logPublishingOptions)
Map ofLogType
andLogPublishingOption
, 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(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateElasticsearchDomainRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
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.CreateElasticsearchDomainRequest.Builder
tagList(Collection<Tag> tagList)
A list ofTag
added during domain creation.CreateElasticsearchDomainRequest.Builder
tagList(Consumer<Tag.Builder>... tagList)
A list ofTag
added during domain creation.CreateElasticsearchDomainRequest.Builder
tagList(Tag... tagList)
A list ofTag
added during domain creation.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.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
domainName
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 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
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.
- 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:
elasticsearchClusterConfig(ElasticsearchClusterConfig)
-
ebsOptions
CreateElasticsearchDomainRequest.Builder ebsOptions(EBSOptions 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:
ebsOptions(EBSOptions)
-
accessPolicies
CreateElasticsearchDomainRequest.Builder accessPolicies(String 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
CreateElasticsearchDomainRequest.Builder snapshotOptions(SnapshotOptions 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:
snapshotOptions(SnapshotOptions)
-
vpcOptions
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
- 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:
vpcOptions(VPCOptions)
-
cognitoOptions
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.
- 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:
cognitoOptions(CognitoOptions)
-
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:
encryptionAtRestOptions(EncryptionAtRestOptions)
-
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:
nodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions)
-
advancedOptions
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 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:
domainEndpointOptions(DomainEndpointOptions)
-
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:
advancedSecurityOptions(AdvancedSecurityOptionsInput)
-
autoTuneOptions
CreateElasticsearchDomainRequest.Builder autoTuneOptions(AutoTuneOptionsInput 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:
autoTuneOptions(AutoTuneOptionsInput)
-
tagList
CreateElasticsearchDomainRequest.Builder tagList(Collection<Tag> 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
CreateElasticsearchDomainRequest.Builder tagList(Tag... 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
CreateElasticsearchDomainRequest.Builder tagList(Consumer<Tag.Builder>... 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 to#tagList(List
.) - 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:
#tagList(java.util.Collection
)
-
overrideConfiguration
CreateElasticsearchDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateElasticsearchDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-