Package com.pulumi.gcp.alloydb.outputs
Class ClusterAutomatedBackupPolicy
- java.lang.Object
-
- com.pulumi.gcp.alloydb.outputs.ClusterAutomatedBackupPolicy
-
public final class ClusterAutomatedBackupPolicy extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterAutomatedBackupPolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
backupWindow()
static ClusterAutomatedBackupPolicy.Builder
builder()
static ClusterAutomatedBackupPolicy.Builder
builder(ClusterAutomatedBackupPolicy defaults)
java.util.Optional<java.lang.Boolean>
enabled()
java.util.Optional<ClusterAutomatedBackupPolicyEncryptionConfig>
encryptionConfig()
java.util.Map<java.lang.String,java.lang.String>
labels()
java.util.Optional<java.lang.String>
location()
java.util.Optional<ClusterAutomatedBackupPolicyQuantityBasedRetention>
quantityBasedRetention()
java.util.Optional<ClusterAutomatedBackupPolicyTimeBasedRetention>
timeBasedRetention()
java.util.Optional<ClusterAutomatedBackupPolicyWeeklySchedule>
weeklySchedule()
-
-
-
Method Detail
-
backupWindow
public java.util.Optional<java.lang.String> backupWindow()
- Returns:
- The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
-
enabled
public java.util.Optional<java.lang.Boolean> enabled()
- Returns:
- Whether automated backups are enabled.
-
encryptionConfig
public java.util.Optional<ClusterAutomatedBackupPolicyEncryptionConfig> encryptionConfig()
- Returns:
- EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). Structure is documented below.
-
labels
public java.util.Map<java.lang.String,java.lang.String> labels()
- Returns:
- Labels to apply to backups created using this configuration.
-
location
public java.util.Optional<java.lang.String> location()
- Returns:
- The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster.
-
quantityBasedRetention
public java.util.Optional<ClusterAutomatedBackupPolicyQuantityBasedRetention> quantityBasedRetention()
- Returns:
- Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together. Structure is documented below.
-
timeBasedRetention
public java.util.Optional<ClusterAutomatedBackupPolicyTimeBasedRetention> timeBasedRetention()
- Returns:
- Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together. Structure is documented below.
-
weeklySchedule
public java.util.Optional<ClusterAutomatedBackupPolicyWeeklySchedule> weeklySchedule()
- Returns:
- Weekly schedule for the Backup. Structure is documented below.
-
builder
public static ClusterAutomatedBackupPolicy.Builder builder()
-
builder
public static ClusterAutomatedBackupPolicy.Builder builder(ClusterAutomatedBackupPolicy defaults)
-
-