public static class UpdateOkeClusterBackupConfigDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateOkeClusterBackupConfigDetails.Builder |
backupSchedule(String backupSchedule)
The schedule for backing up namespaces to the destination region.
|
UpdateOkeClusterBackupConfigDetails |
build() |
UpdateOkeClusterBackupConfigDetails.Builder |
copy(UpdateOkeClusterBackupConfigDetails model) |
UpdateOkeClusterBackupConfigDetails.Builder |
imageReplicationVaultSecretId(String imageReplicationVaultSecretId)
The OCID of the vault secret that stores the image credential.
|
UpdateOkeClusterBackupConfigDetails.Builder |
maxNumberOfBackupsRetained(Integer maxNumberOfBackupsRetained)
The maximum number of backups that should be retained.
|
UpdateOkeClusterBackupConfigDetails.Builder |
namespaces(List<String> namespaces)
A list of namespaces that need to be backed up.
|
UpdateOkeClusterBackupConfigDetails.Builder |
replicateImages(OkeClusterImageReplication replicateImages)
Controls the behaviour of image replication across regions.
|
public UpdateOkeClusterBackupConfigDetails.Builder namespaces(List<String> namespaces)
A list of namespaces that need to be backed up. The default value is null. If a list of namespaces is not provided, all namespaces will be backed up. This property applies to the OKE cluster member in primary region.
Example: ["default", "pv-nginx"]
namespaces
- the value to setpublic UpdateOkeClusterBackupConfigDetails.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
backupSchedule
- the value to setpublic UpdateOkeClusterBackupConfigDetails.Builder replicateImages(OkeClusterImageReplication replicateImages)
Controls the behaviour of image replication across regions. This property applies to the OKE cluster member in primary region.
replicateImages
- the value to setpublic UpdateOkeClusterBackupConfigDetails.Builder maxNumberOfBackupsRetained(Integer maxNumberOfBackupsRetained)
The maximum number of backups that should be retained. This property applies to the OKE cluster member in primary region.
maxNumberOfBackupsRetained
- the value to setpublic UpdateOkeClusterBackupConfigDetails.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.
imageReplicationVaultSecretId
- the value to setpublic UpdateOkeClusterBackupConfigDetails build()
public UpdateOkeClusterBackupConfigDetails.Builder copy(UpdateOkeClusterBackupConfigDetails model)
Copyright © 2016–2025. All rights reserved.