Class AlloydbClusterAutomatedBackupPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterAutomatedBackupPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
AlloydbClusterAutomatedBackupPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- AlloydbClusterAutomatedBackupPolicy
@Stability(Stable) @Internal public static final class AlloydbClusterAutomatedBackupPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AlloydbClusterAutomatedBackupPolicy
An implementation forAlloydbClusterAutomatedBackupPolicy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterAutomatedBackupPolicy
AlloydbClusterAutomatedBackupPolicy.Builder, AlloydbClusterAutomatedBackupPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(AlloydbClusterAutomatedBackupPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theAlloydbClusterAutomatedBackupPolicy.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetBackupWindow()The length of the time window during which a backup can be taken.ObjectgetEnabled()Whether automated backups are enabled.AlloydbClusterAutomatedBackupPolicyEncryptionConfiggetEncryptionConfig()encryption_config block.Map<String,String>getLabels()Labels to apply to backups created using this configuration.StringgetLocation()The location where the backup will be stored.AlloydbClusterAutomatedBackupPolicyQuantityBasedRetentiongetQuantityBasedRetention()quantity_based_retention block.AlloydbClusterAutomatedBackupPolicyTimeBasedRetentiongetTimeBasedRetention()time_based_retention block.AlloydbClusterAutomatedBackupPolicyWeeklySchedulegetWeeklySchedule()weekly_schedule block.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(AlloydbClusterAutomatedBackupPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theAlloydbClusterAutomatedBackupPolicy.Builder.
-
-
Method Detail
-
getBackupWindow
public final String getBackupWindow()
Description copied from interface:AlloydbClusterAutomatedBackupPolicyThe 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". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#backup_window AlloydbCluster#backup_window}
- Specified by:
getBackupWindowin interfaceAlloydbClusterAutomatedBackupPolicy
-
getEnabled
public final Object getEnabled()
Description copied from interface:AlloydbClusterAutomatedBackupPolicyWhether automated backups are enabled.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#enabled AlloydbCluster#enabled}
- Specified by:
getEnabledin interfaceAlloydbClusterAutomatedBackupPolicy
-
getEncryptionConfig
public final AlloydbClusterAutomatedBackupPolicyEncryptionConfig getEncryptionConfig()
Description copied from interface:AlloydbClusterAutomatedBackupPolicyencryption_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#encryption_config AlloydbCluster#encryption_config}
- Specified by:
getEncryptionConfigin interfaceAlloydbClusterAutomatedBackupPolicy
-
getLabels
public final Map<String,String> getLabels()
Description copied from interface:AlloydbClusterAutomatedBackupPolicyLabels to apply to backups created using this configuration.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#labels AlloydbCluster#labels}
- Specified by:
getLabelsin interfaceAlloydbClusterAutomatedBackupPolicy
-
getLocation
public final String getLocation()
Description copied from interface:AlloydbClusterAutomatedBackupPolicyThe location where the backup will be stored.Currently, the only supported option is to store the backup in the same region as the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#location AlloydbCluster#location}
- Specified by:
getLocationin interfaceAlloydbClusterAutomatedBackupPolicy
-
getQuantityBasedRetention
public final AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention getQuantityBasedRetention()
Description copied from interface:AlloydbClusterAutomatedBackupPolicyquantity_based_retention block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#quantity_based_retention AlloydbCluster#quantity_based_retention}
- Specified by:
getQuantityBasedRetentionin interfaceAlloydbClusterAutomatedBackupPolicy
-
getTimeBasedRetention
public final AlloydbClusterAutomatedBackupPolicyTimeBasedRetention getTimeBasedRetention()
Description copied from interface:AlloydbClusterAutomatedBackupPolicytime_based_retention block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#time_based_retention AlloydbCluster#time_based_retention}
- Specified by:
getTimeBasedRetentionin interfaceAlloydbClusterAutomatedBackupPolicy
-
getWeeklySchedule
public final AlloydbClusterAutomatedBackupPolicyWeeklySchedule getWeeklySchedule()
Description copied from interface:AlloydbClusterAutomatedBackupPolicyweekly_schedule block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#weekly_schedule AlloydbCluster#weekly_schedule}
- Specified by:
getWeeklySchedulein interfaceAlloydbClusterAutomatedBackupPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-