Package com.oracle.bmc.goldengate.model
Class BackupSchedule
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.BackupSchedule
-
@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 theBackupSchedule.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 theBackupSchedule.Builder
, which maintain a set of all explicitly set fields calledBackupSchedule.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BackupSchedule.Builder
static class
BackupSchedule.FrequencyBackupScheduled
The frequency of the deployment backup schedule.
-
Constructor Summary
Constructors Constructor Description BackupSchedule(Date timeBackupScheduled, BackupSchedule.FrequencyBackupScheduled frequencyBackupScheduled, String bucketName, String compartmentId, String namespaceName, Boolean isMetadataOnly)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 storageString
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 trailsString
getNamespaceName()
Name of namespace that serves as a container for all of your bucketsDate
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.
-
-
-
Constructor Detail
-
BackupSchedule
@Deprecated @ConstructorProperties({"timeBackupScheduled","frequencyBackupScheduled","bucketName","compartmentId","namespaceName","isMetadataOnly"}) public BackupSchedule(Date timeBackupScheduled, BackupSchedule.FrequencyBackupScheduled frequencyBackupScheduled, String bucketName, String compartmentId, String namespaceName, Boolean isMetadataOnly)
Deprecated.
-
-
Method Detail
-
builder
public static BackupSchedule.Builder builder()
Create a new builder.
-
toBuilder
public BackupSchedule.Builder toBuilder()
-
getTimeBackupScheduled
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.
- Returns:
- the value
-
getFrequencyBackupScheduled
public BackupSchedule.FrequencyBackupScheduled getFrequencyBackupScheduled()
The frequency of the deployment backup schedule.Frequency can be DAILY, WEEKLY or MONTHLY.
- Returns:
- the value
-
getBucketName
public String getBucketName()
Name of the bucket where the object is to be uploaded in the object storage- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment being referenced.- Returns:
- the value
-
getNamespaceName
public String getNamespaceName()
Name of namespace that serves as a container for all of your buckets- Returns:
- the value
-
getIsMetadataOnly
public Boolean getIsMetadataOnly()
Parameter to allow users to create backup without trails- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-