Class ElasticsearchDomainAutoTuneOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.elasticsearch_domain.ElasticsearchDomainAutoTuneOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ElasticsearchDomainAutoTuneOptions>
- Enclosing interface:
- ElasticsearchDomainAutoTuneOptions
@Stability(Stable) public static final class ElasticsearchDomainAutoTuneOptions.Builder extends Object implements software.amazon.jsii.Builder<ElasticsearchDomainAutoTuneOptions>
A builder forElasticsearchDomainAutoTuneOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticsearchDomainAutoTuneOptionsbuild()Builds the configured instance.ElasticsearchDomainAutoTuneOptions.BuilderdesiredState(String desiredState)Sets the value ofElasticsearchDomainAutoTuneOptions.getDesiredState()ElasticsearchDomainAutoTuneOptions.BuildermaintenanceSchedule(com.hashicorp.cdktf.IResolvable maintenanceSchedule)Sets the value ofElasticsearchDomainAutoTuneOptions.getMaintenanceSchedule()ElasticsearchDomainAutoTuneOptions.BuildermaintenanceSchedule(List<? extends ElasticsearchDomainAutoTuneOptionsMaintenanceSchedule> maintenanceSchedule)Sets the value ofElasticsearchDomainAutoTuneOptions.getMaintenanceSchedule()ElasticsearchDomainAutoTuneOptions.BuilderrollbackOnDisable(String rollbackOnDisable)Sets the value ofElasticsearchDomainAutoTuneOptions.getRollbackOnDisable()
-
-
-
Method Detail
-
desiredState
@Stability(Stable) public ElasticsearchDomainAutoTuneOptions.Builder desiredState(String desiredState)
Sets the value ofElasticsearchDomainAutoTuneOptions.getDesiredState()- Parameters:
desiredState- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#desired_state ElasticsearchDomain#desired_state}. This parameter is required.- Returns:
this
-
maintenanceSchedule
@Stability(Stable) public ElasticsearchDomainAutoTuneOptions.Builder maintenanceSchedule(com.hashicorp.cdktf.IResolvable maintenanceSchedule)
Sets the value ofElasticsearchDomainAutoTuneOptions.getMaintenanceSchedule()- Parameters:
maintenanceSchedule- maintenance_schedule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#maintenance_schedule ElasticsearchDomain#maintenance_schedule}- Returns:
this
-
maintenanceSchedule
@Stability(Stable) public ElasticsearchDomainAutoTuneOptions.Builder maintenanceSchedule(List<? extends ElasticsearchDomainAutoTuneOptionsMaintenanceSchedule> maintenanceSchedule)
Sets the value ofElasticsearchDomainAutoTuneOptions.getMaintenanceSchedule()- Parameters:
maintenanceSchedule- maintenance_schedule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#maintenance_schedule ElasticsearchDomain#maintenance_schedule}- Returns:
this
-
rollbackOnDisable
@Stability(Stable) public ElasticsearchDomainAutoTuneOptions.Builder rollbackOnDisable(String rollbackOnDisable)
Sets the value ofElasticsearchDomainAutoTuneOptions.getRollbackOnDisable()- Parameters:
rollbackOnDisable- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elasticsearch_domain#rollback_on_disable ElasticsearchDomain#rollback_on_disable}.- Returns:
this
-
build
@Stability(Stable) public ElasticsearchDomainAutoTuneOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ElasticsearchDomainAutoTuneOptions>- Returns:
- a new instance of
ElasticsearchDomainAutoTuneOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-