Class RedshiftSnapshotScheduleConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.redshift_snapshot_schedule.RedshiftSnapshotScheduleConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<RedshiftSnapshotScheduleConfig>
- Enclosing interface:
- RedshiftSnapshotScheduleConfig
@Stability(Stable) public static final class RedshiftSnapshotScheduleConfig.Builder extends Object implements software.amazon.jsii.Builder<RedshiftSnapshotScheduleConfig>
A builder forRedshiftSnapshotScheduleConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
definitions
@Stability(Stable) public RedshiftSnapshotScheduleConfig.Builder definitions(List<String> definitions)
Sets the value ofRedshiftSnapshotScheduleConfig.getDefinitions()- Parameters:
definitions- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/redshift_snapshot_schedule#definitions RedshiftSnapshotSchedule#definitions}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public RedshiftSnapshotScheduleConfig.Builder description(String description)
Sets the value ofRedshiftSnapshotScheduleConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/redshift_snapshot_schedule#description RedshiftSnapshotSchedule#description}.- Returns:
this
-
forceDestroy
@Stability(Stable) public RedshiftSnapshotScheduleConfig.Builder forceDestroy(Boolean forceDestroy)
Sets the value ofRedshiftSnapshotScheduleConfig.getForceDestroy()- Parameters:
forceDestroy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/redshift_snapshot_schedule#force_destroy RedshiftSnapshotSchedule#force_destroy}.- Returns:
this
-
forceDestroy
@Stability(Stable) public RedshiftSnapshotScheduleConfig.Builder forceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)
Sets the value ofRedshiftSnapshotScheduleConfig.getForceDestroy()- Parameters:
forceDestroy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/redshift_snapshot_schedule#force_destroy RedshiftSnapshotSchedule#force_destroy}.- Returns:
this
-
id
@Stability(Stable) public RedshiftSnapshotScheduleConfig.Builder id(String id)
Sets the value ofRedshiftSnapshotScheduleConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/redshift_snapshot_schedule#id RedshiftSnapshotSchedule#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
-
identifier
@Stability(Stable) public RedshiftSnapshotScheduleConfig.Builder identifier(String identifier)
Sets the value ofRedshiftSnapshotScheduleConfig.getIdentifier()- Parameters:
identifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/redshift_snapshot_schedule#identifier RedshiftSnapshotSchedule#identifier}.- Returns:
this
-
identifierPrefix
@Stability(Stable) public RedshiftSnapshotScheduleConfig.Builder identifierPrefix(String identifierPrefix)
Sets the value ofRedshiftSnapshotScheduleConfig.getIdentifierPrefix()- Parameters:
identifierPrefix- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/redshift_snapshot_schedule#identifier_prefix RedshiftSnapshotSchedule#identifier_prefix}.- Returns:
this
-
tags
@Stability(Stable) public RedshiftSnapshotScheduleConfig.Builder tags(Map<String,String> tags)
Sets the value ofRedshiftSnapshotScheduleConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/redshift_snapshot_schedule#tags RedshiftSnapshotSchedule#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public RedshiftSnapshotScheduleConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofRedshiftSnapshotScheduleConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/redshift_snapshot_schedule#tags_all RedshiftSnapshotSchedule#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public RedshiftSnapshotScheduleConfig.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 RedshiftSnapshotScheduleConfig.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 RedshiftSnapshotScheduleConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public RedshiftSnapshotScheduleConfig.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 RedshiftSnapshotScheduleConfig.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 RedshiftSnapshotScheduleConfig.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 RedshiftSnapshotScheduleConfig.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 RedshiftSnapshotScheduleConfig.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 RedshiftSnapshotScheduleConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public RedshiftSnapshotScheduleConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RedshiftSnapshotScheduleConfig>- Returns:
- a new instance of
RedshiftSnapshotScheduleConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-