Class OkeClusterBackupConfig
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.disasterrecovery.model.OkeClusterBackupConfig
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public final class OkeClusterBackupConfig extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe details of backup performed on OKE Cluster.
 Note: Objects should always be created or deserialized using theOkeClusterBackupConfig.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theOkeClusterBackupConfig.Builder, which maintain a set of all explicitly set fields calledOkeClusterBackupConfig.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOkeClusterBackupConfig.Builder
 - 
Constructor SummaryConstructors Constructor Description OkeClusterBackupConfig(List<String> namespaces, List<String> excludeNamespaces, String backupSchedule, OkeClusterImageReplication replicateImages, Integer maxNumberOfBackupsRetained, String imageReplicationVaultSecretId)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OkeClusterBackupConfig.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBackupSchedule()The schedule for backing up namespaces to the destination region.List<String>getExcludeNamespaces()A list of namespaces to be excluded from the backup.StringgetImageReplicationVaultSecretId()The OCID of the vault secret that stores the image credential.IntegergetMaxNumberOfBackupsRetained()The maximum number of backups that should be retained.List<String>getNamespaces()A list of namespaces to be included in the backup.OkeClusterImageReplicationgetReplicateImages()Controls the behaviour of image replication across regions.inthashCode()OkeClusterBackupConfig.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
OkeClusterBackupConfig@Deprecated @ConstructorProperties({"namespaces","excludeNamespaces","backupSchedule","replicateImages","maxNumberOfBackupsRetained","imageReplicationVaultSecretId"}) public OkeClusterBackupConfig(List<String> namespaces, List<String> excludeNamespaces, String backupSchedule, OkeClusterImageReplication replicateImages, Integer maxNumberOfBackupsRetained, String imageReplicationVaultSecretId) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static OkeClusterBackupConfig.Builder builder() Create a new builder.
 - 
toBuilderpublic OkeClusterBackupConfig.Builder toBuilder() 
 - 
getNamespacespublic List<String> getNamespaces() A list of namespaces to be included in the backup.The default value is null. If a list of namespaces to include is not provided, all namespaces will be backed up. Specify either the namespaces or the excludeNamespaces parameter, but not both. This property applies to the OKE cluster member in primary region. Example: ["default", "pv-nginx"] - Returns:
- the value
 
 - 
getExcludeNamespacespublic List<String> getExcludeNamespaces() A list of namespaces to be excluded from the backup.The default value is null. If a list of namespaces to exclude is not provided, all namespaces will be backed up. Specify either the namespaces or the excludeNamespaces parameter, but not both. This property applies to OKE cluster members in the primary region. Example: ["namespace_string_3", "namespace_string_4"] - Returns:
- the value
 
 - 
getBackupSchedulepublic String getBackupSchedule() The schedule for backing up namespaces to the destination region.If a backup schedule is not specified, only a single backup will be created. This format of the string specifying the backup schedule must conform with RFC-5545. This schedule will use the UTC timezone. This property applies to the OKE cluster member in primary region. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1 - Returns:
- the value
 
 - 
getReplicateImagespublic OkeClusterImageReplication getReplicateImages() Controls the behaviour of image replication across regions.This property applies to the OKE cluster member in primary region. - Returns:
- the value
 
 - 
getMaxNumberOfBackupsRetainedpublic Integer getMaxNumberOfBackupsRetained() The maximum number of backups that should be retained.This property applies to the OKE cluster member in primary region. - Returns:
- the value
 
 - 
getImageReplicationVaultSecretIdpublic String getImageReplicationVaultSecretId() The OCID of the vault secret that stores the image credential.This property applies to the OKE cluster member in both the primary and standby region. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-