Class ElasticsearchDomainConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.elasticsearch_domain.ElasticsearchDomainConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ElasticsearchDomainConfig>
- Enclosing interface:
- ElasticsearchDomainConfig
@Stability(Stable) public static final class ElasticsearchDomainConfig.Builder extends Object implements software.amazon.jsii.Builder<ElasticsearchDomainConfig>
A builder forElasticsearchDomainConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
domainName
@Stability(Stable) public ElasticsearchDomainConfig.Builder domainName(String domainName)
Sets the value ofElasticsearchDomainConfig.getDomainName()- Parameters:
domainName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#domain_name ElasticsearchDomain#domain_name}. This parameter is required.- Returns:
this
-
accessPolicies
@Stability(Stable) public ElasticsearchDomainConfig.Builder accessPolicies(String accessPolicies)
Sets the value ofElasticsearchDomainConfig.getAccessPolicies()- Parameters:
accessPolicies- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#access_policies ElasticsearchDomain#access_policies}.- Returns:
this
-
advancedOptions
@Stability(Stable) public ElasticsearchDomainConfig.Builder advancedOptions(Map<String,String> advancedOptions)
Sets the value ofElasticsearchDomainConfig.getAdvancedOptions()- Parameters:
advancedOptions- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#advanced_options ElasticsearchDomain#advanced_options}.- Returns:
this
-
advancedSecurityOptions
@Stability(Stable) public ElasticsearchDomainConfig.Builder advancedSecurityOptions(ElasticsearchDomainAdvancedSecurityOptions advancedSecurityOptions)
Sets the value ofElasticsearchDomainConfig.getAdvancedSecurityOptions()- Parameters:
advancedSecurityOptions- advanced_security_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#advanced_security_options ElasticsearchDomain#advanced_security_options}- Returns:
this
-
autoTuneOptions
@Stability(Stable) public ElasticsearchDomainConfig.Builder autoTuneOptions(ElasticsearchDomainAutoTuneOptions autoTuneOptions)
Sets the value ofElasticsearchDomainConfig.getAutoTuneOptions()- Parameters:
autoTuneOptions- auto_tune_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#auto_tune_options ElasticsearchDomain#auto_tune_options}- Returns:
this
-
clusterConfig
@Stability(Stable) public ElasticsearchDomainConfig.Builder clusterConfig(ElasticsearchDomainClusterConfig clusterConfig)
Sets the value ofElasticsearchDomainConfig.getClusterConfig()- Parameters:
clusterConfig- cluster_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#cluster_config ElasticsearchDomain#cluster_config}- Returns:
this
-
cognitoOptions
@Stability(Stable) public ElasticsearchDomainConfig.Builder cognitoOptions(ElasticsearchDomainCognitoOptions cognitoOptions)
Sets the value ofElasticsearchDomainConfig.getCognitoOptions()- Parameters:
cognitoOptions- cognito_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#cognito_options ElasticsearchDomain#cognito_options}- Returns:
this
-
domainEndpointOptions
@Stability(Stable) public ElasticsearchDomainConfig.Builder domainEndpointOptions(ElasticsearchDomainDomainEndpointOptions domainEndpointOptions)
Sets the value ofElasticsearchDomainConfig.getDomainEndpointOptions()- Parameters:
domainEndpointOptions- domain_endpoint_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#domain_endpoint_options ElasticsearchDomain#domain_endpoint_options}- Returns:
this
-
ebsOptions
@Stability(Stable) public ElasticsearchDomainConfig.Builder ebsOptions(ElasticsearchDomainEbsOptions ebsOptions)
Sets the value ofElasticsearchDomainConfig.getEbsOptions()- Parameters:
ebsOptions- ebs_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#ebs_options ElasticsearchDomain#ebs_options}- Returns:
this
-
elasticsearchVersion
@Stability(Stable) public ElasticsearchDomainConfig.Builder elasticsearchVersion(String elasticsearchVersion)
Sets the value ofElasticsearchDomainConfig.getElasticsearchVersion()- Parameters:
elasticsearchVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#elasticsearch_version ElasticsearchDomain#elasticsearch_version}.- Returns:
this
-
encryptAtRest
@Stability(Stable) public ElasticsearchDomainConfig.Builder encryptAtRest(ElasticsearchDomainEncryptAtRest encryptAtRest)
Sets the value ofElasticsearchDomainConfig.getEncryptAtRest()- Parameters:
encryptAtRest- encrypt_at_rest block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#encrypt_at_rest ElasticsearchDomain#encrypt_at_rest}- Returns:
this
-
id
@Stability(Stable) public ElasticsearchDomainConfig.Builder id(String id)
Sets the value ofElasticsearchDomainConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#id ElasticsearchDomain#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
logPublishingOptions
@Stability(Stable) public ElasticsearchDomainConfig.Builder logPublishingOptions(com.hashicorp.cdktf.IResolvable logPublishingOptions)
Sets the value ofElasticsearchDomainConfig.getLogPublishingOptions()- Parameters:
logPublishingOptions- log_publishing_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#log_publishing_options ElasticsearchDomain#log_publishing_options}- Returns:
this
-
logPublishingOptions
@Stability(Stable) public ElasticsearchDomainConfig.Builder logPublishingOptions(List<? extends ElasticsearchDomainLogPublishingOptions> logPublishingOptions)
Sets the value ofElasticsearchDomainConfig.getLogPublishingOptions()- Parameters:
logPublishingOptions- log_publishing_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#log_publishing_options ElasticsearchDomain#log_publishing_options}- Returns:
this
-
nodeToNodeEncryption
@Stability(Stable) public ElasticsearchDomainConfig.Builder nodeToNodeEncryption(ElasticsearchDomainNodeToNodeEncryption nodeToNodeEncryption)
Sets the value ofElasticsearchDomainConfig.getNodeToNodeEncryption()- Parameters:
nodeToNodeEncryption- node_to_node_encryption block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#node_to_node_encryption ElasticsearchDomain#node_to_node_encryption}- Returns:
this
-
snapshotOptions
@Stability(Stable) public ElasticsearchDomainConfig.Builder snapshotOptions(ElasticsearchDomainSnapshotOptions snapshotOptions)
Sets the value ofElasticsearchDomainConfig.getSnapshotOptions()- Parameters:
snapshotOptions- snapshot_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#snapshot_options ElasticsearchDomain#snapshot_options}- Returns:
this
-
tags
@Stability(Stable) public ElasticsearchDomainConfig.Builder tags(Map<String,String> tags)
Sets the value ofElasticsearchDomainConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#tags ElasticsearchDomain#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public ElasticsearchDomainConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofElasticsearchDomainConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#tags_all ElasticsearchDomain#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public ElasticsearchDomainConfig.Builder timeouts(ElasticsearchDomainTimeouts timeouts)
Sets the value ofElasticsearchDomainConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#timeouts ElasticsearchDomain#timeouts}- Returns:
this
-
vpcOptions
@Stability(Stable) public ElasticsearchDomainConfig.Builder vpcOptions(ElasticsearchDomainVpcOptions vpcOptions)
Sets the value ofElasticsearchDomainConfig.getVpcOptions()- Parameters:
vpcOptions- vpc_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#vpc_options ElasticsearchDomain#vpc_options}- Returns:
this
-
connection
@Stability(Experimental) public ElasticsearchDomainConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public ElasticsearchDomainConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ElasticsearchDomainConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ElasticsearchDomainConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public ElasticsearchDomainConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public ElasticsearchDomainConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public ElasticsearchDomainConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public ElasticsearchDomainConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public ElasticsearchDomainConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ElasticsearchDomainConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ElasticsearchDomainConfig>- Returns:
- a new instance of
ElasticsearchDomainConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-