Interface CreateDomainRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDomainRequest.Builder,CreateDomainRequest>
,OpenSearchRequest.Builder
,SdkBuilder<CreateDomainRequest.Builder,CreateDomainRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateDomainRequest
public static interface CreateDomainRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<CreateDomainRequest.Builder,CreateDomainRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDomainRequest.Builder
accessPolicies(String accessPolicies)
Identity and Access Management (IAM) policy document specifying the access policies for the new domain.CreateDomainRequest.Builder
advancedOptions(Map<String,String> advancedOptions)
Key-value pairs to specify advanced configuration options.default CreateDomainRequest.Builder
advancedSecurityOptions(Consumer<AdvancedSecurityOptionsInput.Builder> advancedSecurityOptions)
Options for fine-grained access control.CreateDomainRequest.Builder
advancedSecurityOptions(AdvancedSecurityOptionsInput advancedSecurityOptions)
Options for fine-grained access control.default CreateDomainRequest.Builder
autoTuneOptions(Consumer<AutoTuneOptionsInput.Builder> autoTuneOptions)
Options for Auto-Tune.CreateDomainRequest.Builder
autoTuneOptions(AutoTuneOptionsInput autoTuneOptions)
Options for Auto-Tune.default CreateDomainRequest.Builder
clusterConfig(Consumer<ClusterConfig.Builder> clusterConfig)
Container for the cluster configuration of a domain.CreateDomainRequest.Builder
clusterConfig(ClusterConfig clusterConfig)
Container for the cluster configuration of a domain.default CreateDomainRequest.Builder
cognitoOptions(Consumer<CognitoOptions.Builder> cognitoOptions)
Key-value pairs to configure Amazon Cognito authentication.CreateDomainRequest.Builder
cognitoOptions(CognitoOptions cognitoOptions)
Key-value pairs to configure Amazon Cognito authentication.default CreateDomainRequest.Builder
domainEndpointOptions(Consumer<DomainEndpointOptions.Builder> domainEndpointOptions)
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.CreateDomainRequest.Builder
domainEndpointOptions(DomainEndpointOptions domainEndpointOptions)
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.CreateDomainRequest.Builder
domainName(String domainName)
Name of the OpenSearch Service domain to create.default CreateDomainRequest.Builder
ebsOptions(Consumer<EBSOptions.Builder> ebsOptions)
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.CreateDomainRequest.Builder
ebsOptions(EBSOptions ebsOptions)
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.default CreateDomainRequest.Builder
encryptionAtRestOptions(Consumer<EncryptionAtRestOptions.Builder> encryptionAtRestOptions)
Key-value pairs to enable encryption at rest.CreateDomainRequest.Builder
encryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)
Key-value pairs to enable encryption at rest.CreateDomainRequest.Builder
engineVersion(String engineVersion)
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch Service domain.CreateDomainRequest.Builder
ipAddressType(String ipAddressType)
The type of IP addresses supported by the endpoint for the domain.CreateDomainRequest.Builder
ipAddressType(IPAddressType ipAddressType)
The type of IP addresses supported by the endpoint for the domain.CreateDomainRequest.Builder
logPublishingOptions(Map<LogType,LogPublishingOption> logPublishingOptions)
Key-value pairs to configure log publishing.CreateDomainRequest.Builder
logPublishingOptionsWithStrings(Map<String,LogPublishingOption> logPublishingOptions)
Key-value pairs to configure log publishing.default CreateDomainRequest.Builder
nodeToNodeEncryptionOptions(Consumer<NodeToNodeEncryptionOptions.Builder> nodeToNodeEncryptionOptions)
Enables node-to-node encryption.CreateDomainRequest.Builder
nodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions)
Enables node-to-node encryption.default CreateDomainRequest.Builder
offPeakWindowOptions(Consumer<OffPeakWindowOptions.Builder> offPeakWindowOptions)
Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment.CreateDomainRequest.Builder
offPeakWindowOptions(OffPeakWindowOptions offPeakWindowOptions)
Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment.CreateDomainRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateDomainRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default CreateDomainRequest.Builder
snapshotOptions(Consumer<SnapshotOptions.Builder> snapshotOptions)
DEPRECATED.CreateDomainRequest.Builder
snapshotOptions(SnapshotOptions snapshotOptions)
DEPRECATED.default CreateDomainRequest.Builder
softwareUpdateOptions(Consumer<SoftwareUpdateOptions.Builder> softwareUpdateOptions)
Software update options for the domain.CreateDomainRequest.Builder
softwareUpdateOptions(SoftwareUpdateOptions softwareUpdateOptions)
Software update options for the domain.CreateDomainRequest.Builder
tagList(Collection<Tag> tagList)
List of tags to add to the domain upon creation.CreateDomainRequest.Builder
tagList(Consumer<Tag.Builder>... tagList)
List of tags to add to the domain upon creation.CreateDomainRequest.Builder
tagList(Tag... tagList)
List of tags to add to the domain upon creation.default CreateDomainRequest.Builder
vpcOptions(Consumer<VPCOptions.Builder> vpcOptions)
Container for the values required to configure VPC access domains.CreateDomainRequest.Builder
vpcOptions(VPCOptions vpcOptions)
Container for the values required to configure VPC access domains.-
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.opensearch.model.OpenSearchRequest.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 Detail
-
domainName
CreateDomainRequest.Builder domainName(String domainName)
Name of the OpenSearch Service domain to create. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.
- Parameters:
domainName
- Name of the OpenSearch Service domain to create. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
CreateDomainRequest.Builder engineVersion(String engineVersion)
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch Service domain. For example,
OpenSearch_1.0
orElasticsearch_7.9
. For more information, see Creating and managing Amazon OpenSearch Service domains.- Parameters:
engineVersion
- String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch Service domain. For example,OpenSearch_1.0
orElasticsearch_7.9
. For more information, see Creating and managing Amazon OpenSearch Service domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterConfig
CreateDomainRequest.Builder clusterConfig(ClusterConfig clusterConfig)
Container for the cluster configuration of a domain.
- Parameters:
clusterConfig
- Container for the cluster configuration of a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterConfig
default CreateDomainRequest.Builder clusterConfig(Consumer<ClusterConfig.Builder> clusterConfig)
Container for the cluster configuration of a domain.
This is a convenience method that creates an instance of theClusterConfig.Builder
avoiding the need to create one manually viaClusterConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclusterConfig(ClusterConfig)
.- Parameters:
clusterConfig
- a consumer that will call methods onClusterConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
clusterConfig(ClusterConfig)
-
ebsOptions
CreateDomainRequest.Builder ebsOptions(EBSOptions ebsOptions)
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.
- Parameters:
ebsOptions
- Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsOptions
default CreateDomainRequest.Builder ebsOptions(Consumer<EBSOptions.Builder> ebsOptions)
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.
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
CreateDomainRequest.Builder accessPolicies(String accessPolicies)
Identity and Access Management (IAM) policy document specifying the access policies for the new domain.
- Parameters:
accessPolicies
- Identity and Access Management (IAM) policy document specifying the access policies for the new domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddressType
CreateDomainRequest.Builder ipAddressType(String ipAddressType)
The type of IP addresses supported by the endpoint for the domain.
- Parameters:
ipAddressType
- The type of IP addresses supported by the endpoint for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IPAddressType
,IPAddressType
-
ipAddressType
CreateDomainRequest.Builder ipAddressType(IPAddressType ipAddressType)
The type of IP addresses supported by the endpoint for the domain.
- Parameters:
ipAddressType
- The type of IP addresses supported by the endpoint for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IPAddressType
,IPAddressType
-
snapshotOptions
CreateDomainRequest.Builder snapshotOptions(SnapshotOptions snapshotOptions)
DEPRECATED. Container for the parameters required to configure automated snapshots of domain indexes.
- Parameters:
snapshotOptions
- DEPRECATED. Container for the parameters required to configure automated snapshots of domain indexes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotOptions
default CreateDomainRequest.Builder snapshotOptions(Consumer<SnapshotOptions.Builder> snapshotOptions)
DEPRECATED. Container for the parameters required to configure automated snapshots of domain indexes.
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
CreateDomainRequest.Builder vpcOptions(VPCOptions vpcOptions)
Container for the values required to configure VPC access domains. If you don't specify these values, OpenSearch Service creates the domain with a public endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
- Parameters:
vpcOptions
- Container for the values required to configure VPC access domains. If you don't specify these values, OpenSearch Service creates the domain with a public endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOptions
default CreateDomainRequest.Builder vpcOptions(Consumer<VPCOptions.Builder> vpcOptions)
Container for the values required to configure VPC access domains. If you don't specify these values, OpenSearch Service creates the domain with a public endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
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
CreateDomainRequest.Builder cognitoOptions(CognitoOptions cognitoOptions)
Key-value pairs to configure Amazon Cognito authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
- Parameters:
cognitoOptions
- Key-value pairs to configure Amazon Cognito authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoOptions
default CreateDomainRequest.Builder cognitoOptions(Consumer<CognitoOptions.Builder> cognitoOptions)
Key-value pairs to configure Amazon Cognito authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
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
CreateDomainRequest.Builder encryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)
Key-value pairs to enable encryption at rest.
- Parameters:
encryptionAtRestOptions
- Key-value pairs to enable encryption at rest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionAtRestOptions
default CreateDomainRequest.Builder encryptionAtRestOptions(Consumer<EncryptionAtRestOptions.Builder> encryptionAtRestOptions)
Key-value pairs to enable encryption at rest.
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
CreateDomainRequest.Builder nodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions)
Enables node-to-node encryption.
- Parameters:
nodeToNodeEncryptionOptions
- Enables node-to-node encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeToNodeEncryptionOptions
default CreateDomainRequest.Builder nodeToNodeEncryptionOptions(Consumer<NodeToNodeEncryptionOptions.Builder> nodeToNodeEncryptionOptions)
Enables node-to-node encryption.
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
CreateDomainRequest.Builder advancedOptions(Map<String,String> advancedOptions)
Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:
-
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must disable this property. Default is true. -
"indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies the percentage of heap space allocated to field data. Default is unbounded. -
"indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more than the permitted number of clauses result in aTooManyClauses
error. -
"override_main_response_version": "true" | "false"
- Note the use of a string rather than a boolean. Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and plugins to continue working with it. Default is false when creating a domain and true when upgrading a domain.
For more information, see Advanced cluster parameters.
- Parameters:
advancedOptions
- Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:-
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must disable this property. Default is true. -
"indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies the percentage of heap space allocated to field data. Default is unbounded. -
"indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more than the permitted number of clauses result in aTooManyClauses
error. -
"override_main_response_version": "true" | "false"
- Note the use of a string rather than a boolean. Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and plugins to continue working with it. Default is false when creating a domain and true when upgrading a domain.
For more information, see Advanced cluster parameters.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
logPublishingOptionsWithStrings
CreateDomainRequest.Builder logPublishingOptionsWithStrings(Map<String,LogPublishingOption> logPublishingOptions)
Key-value pairs to configure log publishing.
- Parameters:
logPublishingOptions
- Key-value pairs to configure log publishing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logPublishingOptions
CreateDomainRequest.Builder logPublishingOptions(Map<LogType,LogPublishingOption> logPublishingOptions)
Key-value pairs to configure log publishing.
- Parameters:
logPublishingOptions
- Key-value pairs to configure log publishing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEndpointOptions
CreateDomainRequest.Builder domainEndpointOptions(DomainEndpointOptions domainEndpointOptions)
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
- Parameters:
domainEndpointOptions
- Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEndpointOptions
default CreateDomainRequest.Builder domainEndpointOptions(Consumer<DomainEndpointOptions.Builder> domainEndpointOptions)
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
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
CreateDomainRequest.Builder advancedSecurityOptions(AdvancedSecurityOptionsInput advancedSecurityOptions)
Options for fine-grained access control.
- Parameters:
advancedSecurityOptions
- Options for fine-grained access control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedSecurityOptions
default CreateDomainRequest.Builder advancedSecurityOptions(Consumer<AdvancedSecurityOptionsInput.Builder> advancedSecurityOptions)
Options for fine-grained access control.
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)
-
tagList
CreateDomainRequest.Builder tagList(Collection<Tag> tagList)
List of tags to add to the domain upon creation.
- Parameters:
tagList
- List of tags to add to the domain upon creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
CreateDomainRequest.Builder tagList(Tag... tagList)
List of tags to add to the domain upon creation.
- Parameters:
tagList
- List of tags to add to the domain upon creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
CreateDomainRequest.Builder tagList(Consumer<Tag.Builder>... tagList)
List of tags to add to the domain upon creation.
This is a convenience method that creates an instance of theTag.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
)
-
autoTuneOptions
CreateDomainRequest.Builder autoTuneOptions(AutoTuneOptionsInput autoTuneOptions)
Options for Auto-Tune.
- Parameters:
autoTuneOptions
- Options for Auto-Tune.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoTuneOptions
default CreateDomainRequest.Builder autoTuneOptions(Consumer<AutoTuneOptionsInput.Builder> autoTuneOptions)
Options for Auto-Tune.
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)
-
offPeakWindowOptions
CreateDomainRequest.Builder offPeakWindowOptions(OffPeakWindowOptions offPeakWindowOptions)
Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment. If no options are specified, the default start time of 10:00 P.M. local time (for the Region that the domain is created in) is used.
- Parameters:
offPeakWindowOptions
- Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment. If no options are specified, the default start time of 10:00 P.M. local time (for the Region that the domain is created in) is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offPeakWindowOptions
default CreateDomainRequest.Builder offPeakWindowOptions(Consumer<OffPeakWindowOptions.Builder> offPeakWindowOptions)
Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment. If no options are specified, the default start time of 10:00 P.M. local time (for the Region that the domain is created in) is used.
This is a convenience method that creates an instance of theOffPeakWindowOptions.Builder
avoiding the need to create one manually viaOffPeakWindowOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooffPeakWindowOptions(OffPeakWindowOptions)
.- Parameters:
offPeakWindowOptions
- a consumer that will call methods onOffPeakWindowOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
offPeakWindowOptions(OffPeakWindowOptions)
-
softwareUpdateOptions
CreateDomainRequest.Builder softwareUpdateOptions(SoftwareUpdateOptions softwareUpdateOptions)
Software update options for the domain.
- Parameters:
softwareUpdateOptions
- Software update options for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareUpdateOptions
default CreateDomainRequest.Builder softwareUpdateOptions(Consumer<SoftwareUpdateOptions.Builder> softwareUpdateOptions)
Software update options for the domain.
This is a convenience method that creates an instance of theSoftwareUpdateOptions.Builder
avoiding the need to create one manually viaSoftwareUpdateOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosoftwareUpdateOptions(SoftwareUpdateOptions)
.- Parameters:
softwareUpdateOptions
- a consumer that will call methods onSoftwareUpdateOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
softwareUpdateOptions(SoftwareUpdateOptions)
-
overrideConfiguration
CreateDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-