Interface UpdateElasticsearchDomainConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateElasticsearchDomainConfigRequest.Builder,
,UpdateElasticsearchDomainConfigRequest> ElasticsearchRequest.Builder
,SdkBuilder<UpdateElasticsearchDomainConfigRequest.Builder,
,UpdateElasticsearchDomainConfigRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateElasticsearchDomainConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessPolicies
(String accessPolicies) IAM access policy as a JSON-formatted string.advancedOptions
(Map<String, String> advancedOptions) Modifies the advanced 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<AutoTuneOptions.Builder> autoTuneOptions) Specifies Auto-Tune options.autoTuneOptions
(AutoTuneOptions 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 updating.This flag, when set to True, specifies whether theUpdateElasticsearchDomain
request should return the results of validation checks without actually applying the change.ebsOptions
(Consumer<EBSOptions.Builder> ebsOptions) Specify the type and size of the EBS volume that you want to use.ebsOptions
(EBSOptions ebsOptions) Specify the type and size of the EBS volume that you want to use.elasticsearchClusterConfig
(Consumer<ElasticsearchClusterConfig.Builder> elasticsearchClusterConfig) The type and number of instances to instantiate for the domain cluster.elasticsearchClusterConfig
(ElasticsearchClusterConfig elasticsearchClusterConfig) The type and number of instances to instantiate for the domain cluster.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 the time, in UTC format, for the daily automated snapshot.snapshotOptions
(SnapshotOptions snapshotOptions) Option to set the time, in UTC format, for the daily automated snapshot.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 updating.
- Parameters:
domainName
- The name of the Elasticsearch domain that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticsearchClusterConfig
UpdateElasticsearchDomainConfigRequest.Builder elasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig) The type and number of instances to instantiate for the domain cluster.
- Parameters:
elasticsearchClusterConfig
- The type and number of instances to instantiate for the domain cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticsearchClusterConfig
default UpdateElasticsearchDomainConfigRequest.Builder elasticsearchClusterConfig(Consumer<ElasticsearchClusterConfig.Builder> elasticsearchClusterConfig) The type and number of instances to instantiate for 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
Specify the type and size of the EBS volume that you want to use.
- Parameters:
ebsOptions
- Specify the type and size of the EBS volume that you want to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsOptions
default UpdateElasticsearchDomainConfigRequest.Builder ebsOptions(Consumer<EBSOptions.Builder> ebsOptions) Specify the type and size of the EBS volume that you want to use.
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:
-
snapshotOptions
Option to set the time, in UTC format, for the daily automated snapshot. Default value is
0
hours.- Parameters:
snapshotOptions
- Option to set the time, in UTC format, for the daily automated snapshot. Default value is0
hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotOptions
default UpdateElasticsearchDomainConfigRequest.Builder snapshotOptions(Consumer<SnapshotOptions.Builder> snapshotOptions) Option to set the time, in UTC format, for the daily automated snapshot. Default value is
This is a convenience method that creates an instance of the0
hours.SnapshotOptions.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 UpdateElasticsearchDomainConfigRequest.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 UpdateElasticsearchDomainConfigRequest.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:
-
advancedOptions
Modifies the advanced 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
- Modifies the advanced 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.
-
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.
-
logPublishingOptionsWithStrings
UpdateElasticsearchDomainConfigRequest.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
UpdateElasticsearchDomainConfigRequest.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
UpdateElasticsearchDomainConfigRequest.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 UpdateElasticsearchDomainConfigRequest.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
UpdateElasticsearchDomainConfigRequest.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 UpdateElasticsearchDomainConfigRequest.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:
-
nodeToNodeEncryptionOptions
UpdateElasticsearchDomainConfigRequest.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 UpdateElasticsearchDomainConfigRequest.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:
-
encryptionAtRestOptions
UpdateElasticsearchDomainConfigRequest.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 UpdateElasticsearchDomainConfigRequest.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:
-
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 UpdateElasticsearchDomainConfigRequest.Builder autoTuneOptions(Consumer<AutoTuneOptions.Builder> autoTuneOptions) Specifies Auto-Tune options.
This is a convenience method that creates an instance of theAutoTuneOptions.Builder
avoiding the need to create one manually viaAutoTuneOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoTuneOptions(AutoTuneOptions)
.- Parameters:
autoTuneOptions
- a consumer that will call methods onAutoTuneOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dryRun
This flag, when set to True, specifies whether the
UpdateElasticsearchDomain
request should return the results of validation checks without actually applying the change. This flag, when set to True, specifies the deployment mechanism through which the update shall be applied on the domain. This will not actually perform the Update.- Parameters:
dryRun
- This flag, when set to True, specifies whether theUpdateElasticsearchDomain
request should return the results of validation checks without actually applying the change. This flag, when set to True, specifies the deployment mechanism through which the update shall be applied on the domain. This will not actually perform the Update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateElasticsearchDomainConfigRequest.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
UpdateElasticsearchDomainConfigRequest.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.
-