Package com.oracle.bmc.database.model
Class CreateExternalBackupJobDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.CreateExternalBackupJobDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateExternalBackupJobDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Note: Objects should always be created or deserialized using theCreateExternalBackupJobDetails.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
CreateExternalBackupJobDetails.Builder
, which maintain a set of all explicitly set fields calledCreateExternalBackupJobDetails.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
CreateExternalBackupJobDetails.Builder
static class
CreateExternalBackupJobDetails.DatabaseEdition
The Oracle Database edition to use for creating a database from this standalone backup.static class
CreateExternalBackupJobDetails.DatabaseMode
The mode (single instance or RAC) of the database being backed up.
-
Constructor Summary
Constructors Constructor Description CreateExternalBackupJobDetails(String availabilityDomain, String compartmentId, String displayName, String dbVersion, String dbName, String dbUniqueName, String pdbName, Long externalDatabaseIdentifier, String characterSet, String ncharacterSet, CreateExternalBackupJobDetails.DatabaseMode databaseMode, CreateExternalBackupJobDetails.DatabaseEdition databaseEdition)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateExternalBackupJobDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAvailabilityDomain()
The targeted availability domain for the backup.String
getCharacterSet()
The character set for the database.String
getCompartmentId()
The OCID of the compartment where this backup should be created.CreateExternalBackupJobDetails.DatabaseEdition
getDatabaseEdition()
The Oracle Database edition to use for creating a database from this standalone backup.CreateExternalBackupJobDetails.DatabaseMode
getDatabaseMode()
The mode (single instance or RAC) of the database being backed up.String
getDbName()
The name of the database from which the backup is being taken.String
getDbUniqueName()
The DB_UNIQUE_NAME of the Oracle Database being backed up.String
getDbVersion()
A valid Oracle Database version.String
getDisplayName()
A user-friendly name for the backup.Long
getExternalDatabaseIdentifier()
The DBID of the Oracle Database being backed up.String
getNcharacterSet()
The national character set for the database.String
getPdbName()
The pluggable database name.int
hashCode()
CreateExternalBackupJobDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateExternalBackupJobDetails
@Deprecated @ConstructorProperties({"availabilityDomain","compartmentId","displayName","dbVersion","dbName","dbUniqueName","pdbName","externalDatabaseIdentifier","characterSet","ncharacterSet","databaseMode","databaseEdition"}) public CreateExternalBackupJobDetails(String availabilityDomain, String compartmentId, String displayName, String dbVersion, String dbName, String dbUniqueName, String pdbName, Long externalDatabaseIdentifier, String characterSet, String ncharacterSet, CreateExternalBackupJobDetails.DatabaseMode databaseMode, CreateExternalBackupJobDetails.DatabaseEdition databaseEdition)
Deprecated.
-
-
Method Detail
-
builder
public static CreateExternalBackupJobDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateExternalBackupJobDetails.Builder toBuilder()
-
getAvailabilityDomain
public String getAvailabilityDomain()
The targeted availability domain for the backup.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment where this backup should be created.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
A user-friendly name for the backup.This name does not have to be unique.
- Returns:
- the value
-
getDbVersion
public String getDbVersion()
A valid Oracle Database version.- Returns:
- the value
-
getDbName
public String getDbName()
The name of the database from which the backup is being taken.- Returns:
- the value
-
getDbUniqueName
public String getDbUniqueName()
The DB_UNIQUE_NAME of the Oracle Database being backed up.- Returns:
- the value
-
getPdbName
public String getPdbName()
The pluggable database name.- Returns:
- the value
-
getExternalDatabaseIdentifier
public Long getExternalDatabaseIdentifier()
The DBID of the Oracle Database being backed up.- Returns:
- the value
-
getCharacterSet
public String getCharacterSet()
The character set for the database.- Returns:
- the value
-
getNcharacterSet
public String getNcharacterSet()
The national character set for the database.- Returns:
- the value
-
getDatabaseMode
public CreateExternalBackupJobDetails.DatabaseMode getDatabaseMode()
The mode (single instance or RAC) of the database being backed up.- Returns:
- the value
-
getDatabaseEdition
public CreateExternalBackupJobDetails.DatabaseEdition getDatabaseEdition()
The Oracle Database edition to use for creating a database from this standalone backup.Note that 2-node RAC DB systems require Enterprise Edition - Extreme Performance.
- 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
-
-