public interface ContinuousBackupConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEnabled()
public abstract boolean getEnabled()
Whether ContinuousBackup is enabled.
optional bool enabled = 1;
Type | Description |
boolean |
The enabled. |
getEncryptionConfig()
public abstract EncryptionConfig getEncryptionConfig()
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;
Type | Description |
EncryptionConfig |
The encryptionConfig. |
getEncryptionConfigOrBuilder()
public abstract EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;
Type | Description |
EncryptionConfigOrBuilder |
getRecoveryWindowDays()
public abstract int getRecoveryWindowDays()
The number of days backups and logs will be retained, which determines the window of time that data is recoverable for. If not set, it defaults to 14 days.
int32 recovery_window_days = 4;
Type | Description |
int |
The recoveryWindowDays. |
hasEnabled()
public abstract boolean hasEnabled()
Whether ContinuousBackup is enabled.
optional bool enabled = 1;
Type | Description |
boolean |
Whether the enabled field is set. |
hasEncryptionConfig()
public abstract boolean hasEncryptionConfig()
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;
Type | Description |
boolean |
Whether the encryptionConfig field is set. |