Class ElasticsearchDomainEbsOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.elasticsearch_domain.ElasticsearchDomainEbsOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ElasticsearchDomainEbsOptions>
- Enclosing interface:
- ElasticsearchDomainEbsOptions
@Stability(Stable) public static final class ElasticsearchDomainEbsOptions.Builder extends Object implements software.amazon.jsii.Builder<ElasticsearchDomainEbsOptions>
A builder forElasticsearchDomainEbsOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticsearchDomainEbsOptionsbuild()Builds the configured instance.ElasticsearchDomainEbsOptions.BuilderebsEnabled(com.hashicorp.cdktf.IResolvable ebsEnabled)Sets the value ofElasticsearchDomainEbsOptions.getEbsEnabled()ElasticsearchDomainEbsOptions.BuilderebsEnabled(Boolean ebsEnabled)Sets the value ofElasticsearchDomainEbsOptions.getEbsEnabled()ElasticsearchDomainEbsOptions.Builderiops(Number iops)Sets the value ofElasticsearchDomainEbsOptions.getIops()ElasticsearchDomainEbsOptions.Builderthroughput(Number throughput)Sets the value ofElasticsearchDomainEbsOptions.getThroughput()ElasticsearchDomainEbsOptions.BuildervolumeSize(Number volumeSize)Sets the value ofElasticsearchDomainEbsOptions.getVolumeSize()ElasticsearchDomainEbsOptions.BuildervolumeType(String volumeType)Sets the value ofElasticsearchDomainEbsOptions.getVolumeType()
-
-
-
Method Detail
-
ebsEnabled
@Stability(Stable) public ElasticsearchDomainEbsOptions.Builder ebsEnabled(Boolean ebsEnabled)
Sets the value ofElasticsearchDomainEbsOptions.getEbsEnabled()- Parameters:
ebsEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#ebs_enabled ElasticsearchDomain#ebs_enabled}. This parameter is required.- Returns:
this
-
ebsEnabled
@Stability(Stable) public ElasticsearchDomainEbsOptions.Builder ebsEnabled(com.hashicorp.cdktf.IResolvable ebsEnabled)
Sets the value ofElasticsearchDomainEbsOptions.getEbsEnabled()- Parameters:
ebsEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#ebs_enabled ElasticsearchDomain#ebs_enabled}. This parameter is required.- Returns:
this
-
iops
@Stability(Stable) public ElasticsearchDomainEbsOptions.Builder iops(Number iops)
Sets the value ofElasticsearchDomainEbsOptions.getIops()- Parameters:
iops- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#iops ElasticsearchDomain#iops}.- Returns:
this
-
throughput
@Stability(Stable) public ElasticsearchDomainEbsOptions.Builder throughput(Number throughput)
Sets the value ofElasticsearchDomainEbsOptions.getThroughput()- Parameters:
throughput- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#throughput ElasticsearchDomain#throughput}.- Returns:
this
-
volumeSize
@Stability(Stable) public ElasticsearchDomainEbsOptions.Builder volumeSize(Number volumeSize)
Sets the value ofElasticsearchDomainEbsOptions.getVolumeSize()- Parameters:
volumeSize- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#volume_size ElasticsearchDomain#volume_size}.- Returns:
this
-
volumeType
@Stability(Stable) public ElasticsearchDomainEbsOptions.Builder volumeType(String volumeType)
Sets the value ofElasticsearchDomainEbsOptions.getVolumeType()- Parameters:
volumeType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#volume_type ElasticsearchDomain#volume_type}.- Returns:
this
-
build
@Stability(Stable) public ElasticsearchDomainEbsOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ElasticsearchDomainEbsOptions>- Returns:
- a new instance of
ElasticsearchDomainEbsOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-