Interface CreateElasticsearchDomainRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateElasticsearchDomainRequest.Builder,CreateElasticsearchDomainRequest>,ElasticsearchRequest.Builder,SdkBuilder<CreateElasticsearchDomainRequest.Builder,CreateElasticsearchDomainRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateElasticsearchDomainRequest
@Mutable @NotThreadSafe 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.BuilderaccessPolicies(String accessPolicies)IAM access policy as a JSON-formatted string.CreateElasticsearchDomainRequest.BuilderadvancedOptions(Map<String,String> advancedOptions)Option to allow references to indices in an HTTP request body.default CreateElasticsearchDomainRequest.BuilderadvancedSecurityOptions(Consumer<AdvancedSecurityOptionsInput.Builder> advancedSecurityOptions)Specifies advanced security options.CreateElasticsearchDomainRequest.BuilderadvancedSecurityOptions(AdvancedSecurityOptionsInput advancedSecurityOptions)Specifies advanced security options.default CreateElasticsearchDomainRequest.BuilderautoTuneOptions(Consumer<AutoTuneOptionsInput.Builder> autoTuneOptions)Specifies Auto-Tune options.CreateElasticsearchDomainRequest.BuilderautoTuneOptions(AutoTuneOptionsInput autoTuneOptions)Specifies Auto-Tune options.default CreateElasticsearchDomainRequest.BuildercognitoOptions(Consumer<CognitoOptions.Builder> cognitoOptions)Options to specify the Cognito user and identity pools for Kibana authentication.CreateElasticsearchDomainRequest.BuildercognitoOptions(CognitoOptions cognitoOptions)Options to specify the Cognito user and identity pools for Kibana authentication.default CreateElasticsearchDomainRequest.BuilderdomainEndpointOptions(Consumer<DomainEndpointOptions.Builder> domainEndpointOptions)Options to specify configuration that will be applied to the domain endpoint.CreateElasticsearchDomainRequest.BuilderdomainEndpointOptions(DomainEndpointOptions domainEndpointOptions)Options to specify configuration that will be applied to the domain endpoint.CreateElasticsearchDomainRequest.BuilderdomainName(String domainName)The name of the Elasticsearch domain that you are creating.default CreateElasticsearchDomainRequest.BuilderebsOptions(Consumer<EBSOptions.Builder> ebsOptions)Options to enable, disable and specify the type and size of EBS storage volumes.CreateElasticsearchDomainRequest.BuilderebsOptions(EBSOptions ebsOptions)Options to enable, disable and specify the type and size of EBS storage volumes.default CreateElasticsearchDomainRequest.BuilderelasticsearchClusterConfig(Consumer<ElasticsearchClusterConfig.Builder> elasticsearchClusterConfig)Configuration options for an Elasticsearch domain.CreateElasticsearchDomainRequest.BuilderelasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)Configuration options for an Elasticsearch domain.CreateElasticsearchDomainRequest.BuilderelasticsearchVersion(String elasticsearchVersion)String of format X.Y to specify version for the Elasticsearch domain eg.default CreateElasticsearchDomainRequest.BuilderencryptionAtRestOptions(Consumer<EncryptionAtRestOptions.Builder> encryptionAtRestOptions)Specifies the Encryption At Rest Options.CreateElasticsearchDomainRequest.BuilderencryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)Specifies the Encryption At Rest Options.CreateElasticsearchDomainRequest.BuilderlogPublishingOptions(Map<LogType,LogPublishingOption> logPublishingOptions)Map ofLogTypeandLogPublishingOption, each containing options to publish a given type of Elasticsearch log.CreateElasticsearchDomainRequest.BuilderlogPublishingOptionsWithStrings(Map<String,LogPublishingOption> logPublishingOptions)Map ofLogTypeandLogPublishingOption, each containing options to publish a given type of Elasticsearch log.default CreateElasticsearchDomainRequest.BuildernodeToNodeEncryptionOptions(Consumer<NodeToNodeEncryptionOptions.Builder> nodeToNodeEncryptionOptions)Specifies the NodeToNodeEncryptionOptions.CreateElasticsearchDomainRequest.BuildernodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions)Specifies the NodeToNodeEncryptionOptions.CreateElasticsearchDomainRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateElasticsearchDomainRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateElasticsearchDomainRequest.BuildersnapshotOptions(Consumer<SnapshotOptions.Builder> snapshotOptions)Option to set time, in UTC format, of the daily automated snapshot.CreateElasticsearchDomainRequest.BuildersnapshotOptions(SnapshotOptions snapshotOptions)Option to set time, in UTC format, of the daily automated snapshot.CreateElasticsearchDomainRequest.BuildertagList(Collection<Tag> tagList)A list ofTagadded during domain creation.CreateElasticsearchDomainRequest.BuildertagList(Consumer<Tag.Builder>... tagList)A list ofTagadded during domain creation.CreateElasticsearchDomainRequest.BuildertagList(Tag... tagList)A list ofTagadded during domain creation.default CreateElasticsearchDomainRequest.BuildervpcOptions(Consumer<VPCOptions.Builder> vpcOptions)Options to specify the subnets and security groups for VPC endpoint.CreateElasticsearchDomainRequest.BuildervpcOptions(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.Builderavoiding the need to create one manually viaElasticsearchClusterConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEBSOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSnapshotOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaVPCOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCognitoOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEncryptionAtRestOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaNodeToNodeEncryptionOptions.builder().When the
Consumercompletes,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
falsewhen 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 befalsewhen 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
LogTypeandLogPublishingOption, each containing options to publish a given type of Elasticsearch log.- Parameters:
logPublishingOptions- Map ofLogTypeandLogPublishingOption, 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
LogTypeandLogPublishingOption, each containing options to publish a given type of Elasticsearch log.- Parameters:
logPublishingOptions- Map ofLogTypeandLogPublishingOption, 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.Builderavoiding the need to create one manually viaDomainEndpointOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAdvancedSecurityOptionsInput.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAutoTuneOptionsInput.builder().When the
Consumercompletes,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
Tagadded during domain creation.- Parameters:
tagList- A list ofTagadded 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
Tagadded during domain creation.- Parameters:
tagList- A list ofTagadded 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 theTagadded during domain creation.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateElasticsearchDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-