Class OkeClusterBackupConfig.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.OkeClusterBackupConfig.Builder
 
- 
- Enclosing class:
- OkeClusterBackupConfig
 
 public static class OkeClusterBackupConfig.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OkeClusterBackupConfig.BuilderbackupSchedule(String backupSchedule)The schedule for backing up namespaces to the destination region.OkeClusterBackupConfigbuild()OkeClusterBackupConfig.Buildercopy(OkeClusterBackupConfig model)OkeClusterBackupConfig.BuilderexcludeNamespaces(List<String> excludeNamespaces)A list of namespaces to be excluded from the backup.OkeClusterBackupConfig.BuilderimageReplicationVaultSecretId(String imageReplicationVaultSecretId)The OCID of the vault secret that stores the image credential.OkeClusterBackupConfig.BuildermaxNumberOfBackupsRetained(Integer maxNumberOfBackupsRetained)The maximum number of backups that should be retained.OkeClusterBackupConfig.Buildernamespaces(List<String> namespaces)A list of namespaces to be included in the backup.OkeClusterBackupConfig.BuilderreplicateImages(OkeClusterImageReplication replicateImages)Controls the behaviour of image replication across regions.
 
- 
- 
- 
Method Detail- 
namespacespublic OkeClusterBackupConfig.Builder namespaces(List<String> namespaces) 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"] - Parameters:
- namespaces- the value to set
- Returns:
- this builder
 
 - 
excludeNamespacespublic OkeClusterBackupConfig.Builder excludeNamespaces(List<String> excludeNamespaces) 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"] - Parameters:
- excludeNamespaces- the value to set
- Returns:
- this builder
 
 - 
backupSchedulepublic OkeClusterBackupConfig.Builder backupSchedule(String backupSchedule) 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 - Parameters:
- backupSchedule- the value to set
- Returns:
- this builder
 
 - 
replicateImagespublic OkeClusterBackupConfig.Builder replicateImages(OkeClusterImageReplication replicateImages) Controls the behaviour of image replication across regions.This property applies to the OKE cluster member in primary region. - Parameters:
- replicateImages- the value to set
- Returns:
- this builder
 
 - 
maxNumberOfBackupsRetainedpublic OkeClusterBackupConfig.Builder maxNumberOfBackupsRetained(Integer maxNumberOfBackupsRetained) The maximum number of backups that should be retained.This property applies to the OKE cluster member in primary region. - Parameters:
- maxNumberOfBackupsRetained- the value to set
- Returns:
- this builder
 
 - 
imageReplicationVaultSecretIdpublic OkeClusterBackupConfig.Builder imageReplicationVaultSecretId(String imageReplicationVaultSecretId) 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. - Parameters:
- imageReplicationVaultSecretId- the value to set
- Returns:
- this builder
 
 - 
buildpublic OkeClusterBackupConfig build() 
 - 
copypublic OkeClusterBackupConfig.Builder copy(OkeClusterBackupConfig model) 
 
- 
 
-