public interface ContinuousBackupConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEnabled()
public abstract boolean getEnabled()
Whether ContinuousBackup is enabled.
optional bool enabled = 1;
Returns | |
---|---|
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.v1.EncryptionConfig encryption_config = 3;
Returns | |
---|---|
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.v1.EncryptionConfig encryption_config = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
int |
The recoveryWindowDays. |
hasEnabled()
public abstract boolean hasEnabled()
Whether ContinuousBackup is enabled.
optional bool enabled = 1;
Returns | |
---|---|
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.v1.EncryptionConfig encryption_config = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the encryptionConfig field is set. |