@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class BackupSchedule extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Defines the schedule of the deployment backup.
Note: Objects should always be created or deserialized using the BackupSchedule.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 BackupSchedule.Builder
, which maintain a
set of all explicitly set fields called BackupSchedule.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 |
BackupSchedule.Builder |
static class |
BackupSchedule.FrequencyBackupScheduled
The frequency of the deployment backup schedule.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
BackupSchedule(Date timeBackupScheduled,
BackupSchedule.FrequencyBackupScheduled frequencyBackupScheduled,
String bucketName,
String compartmentId,
String namespaceName,
Boolean isMetadataOnly)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BackupSchedule.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBucketName()
Name of the bucket where the object is to be uploaded in the object storage
|
String |
getCompartmentId()
The OCID of the
compartment being referenced.
|
BackupSchedule.FrequencyBackupScheduled |
getFrequencyBackupScheduled()
The frequency of the deployment backup schedule.
|
Boolean |
getIsMetadataOnly()
Parameter to allow users to create backup without trails
|
String |
getNamespaceName()
Name of namespace that serves as a container for all of your buckets
|
Date |
getTimeBackupScheduled()
The start timestamp for the deployment backup schedule.
|
int |
hashCode() |
BackupSchedule.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"timeBackupScheduled","frequencyBackupScheduled","bucketName","compartmentId","namespaceName","isMetadataOnly"}) public BackupSchedule(Date timeBackupScheduled, BackupSchedule.FrequencyBackupScheduled frequencyBackupScheduled, String bucketName, String compartmentId, String namespaceName, Boolean isMetadataOnly)
public static BackupSchedule.Builder builder()
Create a new builder.
public BackupSchedule.Builder toBuilder()
public Date getTimeBackupScheduled()
The start timestamp for the deployment backup schedule. The format is defined by
RFC3339, such as 2024-10-25T18:19:29.600Z
.
public BackupSchedule.FrequencyBackupScheduled getFrequencyBackupScheduled()
The frequency of the deployment backup schedule. Frequency can be DAILY, WEEKLY or MONTHLY.
public String getBucketName()
Name of the bucket where the object is to be uploaded in the object storage
public String getCompartmentId()
The OCID of the compartment being referenced.
public String getNamespaceName()
Name of namespace that serves as a container for all of your buckets
public Boolean getIsMetadataOnly()
Parameter to allow users to create backup without trails
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.