@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public final class UpdateOkeClusterBackupConfigDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Update backup configuration properties for an OKE member.
Note: Objects should always be created or deserialized using the UpdateOkeClusterBackupConfigDetails.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 the UpdateOkeClusterBackupConfigDetails.Builder
, which maintain a
set of all explicitly set fields called UpdateOkeClusterBackupConfigDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
UpdateOkeClusterBackupConfigDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateOkeClusterBackupConfigDetails(List<String> namespaces,
String backupSchedule,
OkeClusterImageReplication replicateImages,
Integer maxNumberOfBackupsRetained,
String imageReplicationVaultSecretId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateOkeClusterBackupConfigDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBackupSchedule()
The schedule for backing up namespaces to the destination region.
|
String |
getImageReplicationVaultSecretId()
The OCID of the vault secret that stores the image credential.
|
Integer |
getMaxNumberOfBackupsRetained()
The maximum number of backups that should be retained.
|
List<String> |
getNamespaces()
A list of namespaces that need to be backed up.
|
OkeClusterImageReplication |
getReplicateImages()
Controls the behaviour of image replication across regions.
|
int |
hashCode() |
UpdateOkeClusterBackupConfigDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"namespaces","backupSchedule","replicateImages","maxNumberOfBackupsRetained","imageReplicationVaultSecretId"}) public UpdateOkeClusterBackupConfigDetails(List<String> namespaces, String backupSchedule, OkeClusterImageReplication replicateImages, Integer maxNumberOfBackupsRetained, String imageReplicationVaultSecretId)
public static UpdateOkeClusterBackupConfigDetails.Builder builder()
Create a new builder.
public UpdateOkeClusterBackupConfigDetails.Builder toBuilder()
public List<String> getNamespaces()
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"]
public 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
public OkeClusterImageReplication getReplicateImages()
Controls the behaviour of image replication across regions. This property applies to the OKE cluster member in primary region.
public Integer getMaxNumberOfBackupsRetained()
The maximum number of backups that should be retained. This property applies to the OKE cluster member in primary region.
public 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.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2025. All rights reserved.