@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class CreateBackupScheduleDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Defines the backup schedule details for create operation.
Note: Objects should always be created or deserialized using the CreateBackupScheduleDetails.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 CreateBackupScheduleDetails.Builder
, which maintain a
set of all explicitly set fields called CreateBackupScheduleDetails.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 |
CreateBackupScheduleDetails.Builder |
static class |
CreateBackupScheduleDetails.FrequencyBackupScheduled
The frequency of the deployment backup schedule.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateBackupScheduleDetails(Date timeBackupScheduled,
CreateBackupScheduleDetails.FrequencyBackupScheduled frequencyBackupScheduled,
String bucketName,
String compartmentId,
String namespaceName,
Boolean isMetadataOnly)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateBackupScheduleDetails.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.
|
CreateBackupScheduleDetails.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() |
CreateBackupScheduleDetails.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 CreateBackupScheduleDetails(Date timeBackupScheduled, CreateBackupScheduleDetails.FrequencyBackupScheduled frequencyBackupScheduled, String bucketName, String compartmentId, String namespaceName, Boolean isMetadataOnly)
public static CreateBackupScheduleDetails.Builder builder()
Create a new builder.
public CreateBackupScheduleDetails.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 CreateBackupScheduleDetails.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.