Interface AwsElasticsearchDomainDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsElasticsearchDomainDetails.Builder,,AwsElasticsearchDomainDetails> SdkBuilder<AwsElasticsearchDomainDetails.Builder,,AwsElasticsearchDomainDetails> SdkPojo
- Enclosing class:
AwsElasticsearchDomainDetails
-
Method Summary
Modifier and TypeMethodDescriptionaccessPolicies(String accessPolicies) IAM policy document specifying the access policies for the new Elasticsearch domain.domainEndpointOptions(Consumer<AwsElasticsearchDomainDomainEndpointOptions.Builder> domainEndpointOptions) Additional options for the domain endpoint.domainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions domainEndpointOptions) Additional options for the domain endpoint.Unique identifier for an Elasticsearch domain.domainName(String domainName) Name of an Elasticsearch domain.elasticsearchClusterConfig(Consumer<AwsElasticsearchDomainElasticsearchClusterConfigDetails.Builder> elasticsearchClusterConfig) Information about an OpenSearch cluster configuration.elasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails elasticsearchClusterConfig) Information about an OpenSearch cluster configuration.elasticsearchVersion(String elasticsearchVersion) OpenSearch version.encryptionAtRestOptions(Consumer<AwsElasticsearchDomainEncryptionAtRestOptions.Builder> encryptionAtRestOptions) Details about the configuration for encryption at rest.encryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions encryptionAtRestOptions) Details about the configuration for encryption at rest.Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch domain.The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.logPublishingOptions(Consumer<AwsElasticsearchDomainLogPublishingOptions.Builder> logPublishingOptions) Configures the CloudWatch Logs to publish for the Elasticsearch domain.logPublishingOptions(AwsElasticsearchDomainLogPublishingOptions logPublishingOptions) Configures the CloudWatch Logs to publish for the Elasticsearch domain.nodeToNodeEncryptionOptions(Consumer<AwsElasticsearchDomainNodeToNodeEncryptionOptions.Builder> nodeToNodeEncryptionOptions) Details about the configuration for node-to-node encryption.nodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions nodeToNodeEncryptionOptions) Details about the configuration for node-to-node encryption.serviceSoftwareOptions(Consumer<AwsElasticsearchDomainServiceSoftwareOptions.Builder> serviceSoftwareOptions) Information about the status of a domain relative to the latest service software.serviceSoftwareOptions(AwsElasticsearchDomainServiceSoftwareOptions serviceSoftwareOptions) Information about the status of a domain relative to the latest service software.vpcOptions(Consumer<AwsElasticsearchDomainVPCOptions.Builder> vpcOptions) Information that OpenSearch derives based onVPCOptionsfor the domain.vpcOptions(AwsElasticsearchDomainVPCOptions vpcOptions) Information that OpenSearch derives based onVPCOptionsfor the domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accessPolicies
IAM policy document specifying the access policies for the new Elasticsearch domain.
- Parameters:
accessPolicies- IAM policy document specifying the access policies for the new Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEndpointOptions
AwsElasticsearchDomainDetails.Builder domainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions domainEndpointOptions) Additional options for the domain endpoint.
- Parameters:
domainEndpointOptions- Additional options for the domain endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEndpointOptions
default AwsElasticsearchDomainDetails.Builder domainEndpointOptions(Consumer<AwsElasticsearchDomainDomainEndpointOptions.Builder> domainEndpointOptions) Additional options for the domain endpoint.
This is a convenience method that creates an instance of theAwsElasticsearchDomainDomainEndpointOptions.Builderavoiding the need to create one manually viaAwsElasticsearchDomainDomainEndpointOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions).- Parameters:
domainEndpointOptions- a consumer that will call methods onAwsElasticsearchDomainDomainEndpointOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainId
Unique identifier for an Elasticsearch domain.
- Parameters:
domainId- Unique identifier for an Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
Name of an Elasticsearch domain.
Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
Domain names must start with a lowercase letter and must be between 3 and 28 characters.
Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
- Parameters:
domainName- Name of an Elasticsearch domain.Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
Domain names must start with a lowercase letter and must be between 3 and 28 characters.
Valid characters are a-z (lowercase only), 0-9, and – (hyphen).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch domain.
The endpoint is a service URL.
- Parameters:
endpoint- Domain-specific endpoint used to submit index, search, and data upload requests to an Elasticsearch domain.The endpoint is a service URL.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.
- Parameters:
endpoints- The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticsearchVersion
OpenSearch version.
- Parameters:
elasticsearchVersion- OpenSearch version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticsearchClusterConfig
AwsElasticsearchDomainDetails.Builder elasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails elasticsearchClusterConfig) Information about an OpenSearch cluster configuration.
- Parameters:
elasticsearchClusterConfig- Information about an OpenSearch cluster configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticsearchClusterConfig
default AwsElasticsearchDomainDetails.Builder elasticsearchClusterConfig(Consumer<AwsElasticsearchDomainElasticsearchClusterConfigDetails.Builder> elasticsearchClusterConfig) Information about an OpenSearch cluster configuration.
This is a convenience method that creates an instance of theAwsElasticsearchDomainElasticsearchClusterConfigDetails.Builderavoiding the need to create one manually viaAwsElasticsearchDomainElasticsearchClusterConfigDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toelasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails).- Parameters:
elasticsearchClusterConfig- a consumer that will call methods onAwsElasticsearchDomainElasticsearchClusterConfigDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionAtRestOptions
AwsElasticsearchDomainDetails.Builder encryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions encryptionAtRestOptions) Details about the configuration for encryption at rest.
- Parameters:
encryptionAtRestOptions- Details about the configuration for encryption at rest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionAtRestOptions
default AwsElasticsearchDomainDetails.Builder encryptionAtRestOptions(Consumer<AwsElasticsearchDomainEncryptionAtRestOptions.Builder> encryptionAtRestOptions) Details about the configuration for encryption at rest.
This is a convenience method that creates an instance of theAwsElasticsearchDomainEncryptionAtRestOptions.Builderavoiding the need to create one manually viaAwsElasticsearchDomainEncryptionAtRestOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions).- Parameters:
encryptionAtRestOptions- a consumer that will call methods onAwsElasticsearchDomainEncryptionAtRestOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logPublishingOptions
AwsElasticsearchDomainDetails.Builder logPublishingOptions(AwsElasticsearchDomainLogPublishingOptions logPublishingOptions) Configures the CloudWatch Logs to publish for the Elasticsearch domain.
- Parameters:
logPublishingOptions- Configures the CloudWatch Logs to publish for the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logPublishingOptions
default AwsElasticsearchDomainDetails.Builder logPublishingOptions(Consumer<AwsElasticsearchDomainLogPublishingOptions.Builder> logPublishingOptions) Configures the CloudWatch Logs to publish for the Elasticsearch domain.
This is a convenience method that creates an instance of theAwsElasticsearchDomainLogPublishingOptions.Builderavoiding the need to create one manually viaAwsElasticsearchDomainLogPublishingOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologPublishingOptions(AwsElasticsearchDomainLogPublishingOptions).- Parameters:
logPublishingOptions- a consumer that will call methods onAwsElasticsearchDomainLogPublishingOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeToNodeEncryptionOptions
AwsElasticsearchDomainDetails.Builder nodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions nodeToNodeEncryptionOptions) Details about the configuration for node-to-node encryption.
- Parameters:
nodeToNodeEncryptionOptions- Details about the configuration for node-to-node encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeToNodeEncryptionOptions
default AwsElasticsearchDomainDetails.Builder nodeToNodeEncryptionOptions(Consumer<AwsElasticsearchDomainNodeToNodeEncryptionOptions.Builder> nodeToNodeEncryptionOptions) Details about the configuration for node-to-node encryption.
This is a convenience method that creates an instance of theAwsElasticsearchDomainNodeToNodeEncryptionOptions.Builderavoiding the need to create one manually viaAwsElasticsearchDomainNodeToNodeEncryptionOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions).- Parameters:
nodeToNodeEncryptionOptions- a consumer that will call methods onAwsElasticsearchDomainNodeToNodeEncryptionOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceSoftwareOptions
AwsElasticsearchDomainDetails.Builder serviceSoftwareOptions(AwsElasticsearchDomainServiceSoftwareOptions serviceSoftwareOptions) Information about the status of a domain relative to the latest service software.
- Parameters:
serviceSoftwareOptions- Information about the status of a domain relative to the latest service software.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceSoftwareOptions
default AwsElasticsearchDomainDetails.Builder serviceSoftwareOptions(Consumer<AwsElasticsearchDomainServiceSoftwareOptions.Builder> serviceSoftwareOptions) Information about the status of a domain relative to the latest service software.
This is a convenience method that creates an instance of theAwsElasticsearchDomainServiceSoftwareOptions.Builderavoiding the need to create one manually viaAwsElasticsearchDomainServiceSoftwareOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceSoftwareOptions(AwsElasticsearchDomainServiceSoftwareOptions).- Parameters:
serviceSoftwareOptions- a consumer that will call methods onAwsElasticsearchDomainServiceSoftwareOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcOptions
Information that OpenSearch derives based on
VPCOptionsfor the domain.- Parameters:
vpcOptions- Information that OpenSearch derives based onVPCOptionsfor the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOptions
default AwsElasticsearchDomainDetails.Builder vpcOptions(Consumer<AwsElasticsearchDomainVPCOptions.Builder> vpcOptions) Information that OpenSearch derives based on
This is a convenience method that creates an instance of theVPCOptionsfor the domain.AwsElasticsearchDomainVPCOptions.Builderavoiding the need to create one manually viaAwsElasticsearchDomainVPCOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcOptions(AwsElasticsearchDomainVPCOptions).- Parameters:
vpcOptions- a consumer that will call methods onAwsElasticsearchDomainVPCOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-