Package com.oracle.bmc.goldengate.model
Class CreateBackupScheduleDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.CreateBackupScheduleDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class CreateBackupScheduleDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDefines the backup schedule details for create operation.
Note: Objects should always be created or deserialized using theCreateBackupScheduleDetails.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 theCreateBackupScheduleDetails.Builder, which maintain a set of all explicitly set fields calledCreateBackupScheduleDetails.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 classCreateBackupScheduleDetails.Builderstatic classCreateBackupScheduleDetails.FrequencyBackupScheduledThe frequency of the deployment backup schedule.
-
Constructor Summary
Constructors Constructor Description CreateBackupScheduleDetails(Date timeBackupScheduled, CreateBackupScheduleDetails.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 CreateBackupScheduleDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBucketName()Name of the bucket where the object is to be uploaded in the object storageStringgetCompartmentId()The OCID of the compartment being referenced.CreateBackupScheduleDetails.FrequencyBackupScheduledgetFrequencyBackupScheduled()The frequency of the deployment backup schedule.BooleangetIsMetadataOnly()Parameter to allow users to create backup without trailsStringgetNamespaceName()Name of namespace that serves as a container for all of your bucketsDategetTimeBackupScheduled()The start timestamp for the deployment backup schedule.inthashCode()CreateBackupScheduleDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateBackupScheduleDetails
@Deprecated @ConstructorProperties({"timeBackupScheduled","frequencyBackupScheduled","bucketName","compartmentId","namespaceName","isMetadataOnly"}) public CreateBackupScheduleDetails(Date timeBackupScheduled, CreateBackupScheduleDetails.FrequencyBackupScheduled frequencyBackupScheduled, String bucketName, String compartmentId, String namespaceName, Boolean isMetadataOnly)
Deprecated.
-
-
Method Detail
-
builder
public static CreateBackupScheduleDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateBackupScheduleDetails.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 CreateBackupScheduleDetails.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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-