Class ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.composer_environment.ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig>
- Enclosing interface:
- ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig
@Stability(Stable) public static final class ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.Builder extends Object implements software.amazon.jsii.Builder<ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigbuild()Builds the configured instance.ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.Builderenabled(Boolean enabled)ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.BuildersnapshotCreationSchedule(String snapshotCreationSchedule)ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.BuildersnapshotLocation(String snapshotLocation)ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.BuildertimeZone(String timeZone)
-
-
-
Method Detail
-
enabled
@Stability(Stable) public ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.Builder enabled(Boolean enabled)
- Parameters:
enabled- When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/composer_environment#enabled ComposerEnvironment#enabled}- Returns:
this
-
enabled
@Stability(Stable) public ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
- Parameters:
enabled- When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/composer_environment#enabled ComposerEnvironment#enabled}- Returns:
this
-
snapshotCreationSchedule
@Stability(Stable) public ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.Builder snapshotCreationSchedule(String snapshotCreationSchedule)
Sets the value ofComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.getSnapshotCreationSchedule()- Parameters:
snapshotCreationSchedule- Snapshot schedule, in the unix-cron format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/composer_environment#snapshot_creation_schedule ComposerEnvironment#snapshot_creation_schedule}- Returns:
this
-
snapshotLocation
@Stability(Stable) public ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.Builder snapshotLocation(String snapshotLocation)
Sets the value ofComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.getSnapshotLocation()- Parameters:
snapshotLocation- the URI of a bucket folder where to save the snapshot. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/composer_environment#snapshot_location ComposerEnvironment#snapshot_location}- Returns:
this
-
timeZone
@Stability(Stable) public ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig.Builder timeZone(String timeZone)
- Parameters:
timeZone- A time zone for the schedule. This value is a time offset and does not take into account daylight saving time changes. Valid values are from UTC-12 to UTC+12. Examples: UTC, UTC-01, UTC+03. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/composer_environment#time_zone ComposerEnvironment#time_zone}- Returns:
this
-
build
@Stability(Stable) public ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig>- Returns:
- a new instance of
ComposerEnvironmentConfigRecoveryConfigScheduledSnapshotsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-