Package com.oracle.bmc.database.model
Class LaunchDbSystemFromDbSystemDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.LaunchDbSystemBase
-
- com.oracle.bmc.database.model.LaunchDbSystemFromDbSystemDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class LaunchDbSystemFromDbSystemDetails extends LaunchDbSystemBase
Used for creating a new database system by cloning an existing DB system.
Note: Objects should always be created or deserialized using theLaunchDbSystemFromDbSystemDetails.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 theLaunchDbSystemFromDbSystemDetails.Builder
, which maintain a set of all explicitly set fields calledLaunchDbSystemFromDbSystemDetails.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
LaunchDbSystemFromDbSystemDetails.Builder
static class
LaunchDbSystemFromDbSystemDetails.LicenseModel
The Oracle license model that applies to all the databases on the DB system.-
Nested classes/interfaces inherited from class com.oracle.bmc.database.model.LaunchDbSystemBase
LaunchDbSystemBase.Source, LaunchDbSystemBase.StorageVolumePerformanceMode
-
-
Constructor Summary
Constructors Constructor Description LaunchDbSystemFromDbSystemDetails(String compartmentId, List<String> faultDomains, String displayName, String availabilityDomain, String subnetId, String backupSubnetId, List<String> nsgIds, List<String> backupNetworkNsgIds, String shape, String timeZone, DbSystemOptions dbSystemOptions, LaunchDbSystemBase.StorageVolumePerformanceMode storageVolumePerformanceMode, Boolean sparseDiskgroup, List<String> sshPublicKeys, String hostname, String domain, Integer cpuCoreCount, String clusterName, Integer dataStoragePercentage, Integer initialDataStorageSizeInGB, String kmsKeyId, String kmsKeyVersionId, Integer nodeCount, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, String privateIp, String privateIpV6, DataCollectionOptions dataCollectionOptions, String sourceDbSystemId, CreateDbHomeFromDbSystemDetails dbHome, LaunchDbSystemFromDbSystemDetails.LicenseModel licenseModel)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaunchDbSystemFromDbSystemDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
CreateDbHomeFromDbSystemDetails
getDbHome()
LaunchDbSystemFromDbSystemDetails.LicenseModel
getLicenseModel()
The Oracle license model that applies to all the databases on the DB system.String
getSourceDbSystemId()
The OCID of the DB system.int
hashCode()
LaunchDbSystemFromDbSystemDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.database.model.LaunchDbSystemBase
getAvailabilityDomain, getBackupNetworkNsgIds, getBackupSubnetId, getClusterName, getCompartmentId, getCpuCoreCount, getDataCollectionOptions, getDataStoragePercentage, getDbSystemOptions, getDefinedTags, getDisplayName, getDomain, getFaultDomains, getFreeformTags, getHostname, getInitialDataStorageSizeInGB, getKmsKeyId, getKmsKeyVersionId, getNodeCount, getNsgIds, getPrivateIp, getPrivateIpV6, getSecurityAttributes, getShape, getSparseDiskgroup, getSshPublicKeys, getStorageVolumePerformanceMode, getSubnetId, getTimeZone
-
-
-
-
Constructor Detail
-
LaunchDbSystemFromDbSystemDetails
@Deprecated public LaunchDbSystemFromDbSystemDetails(String compartmentId, List<String> faultDomains, String displayName, String availabilityDomain, String subnetId, String backupSubnetId, List<String> nsgIds, List<String> backupNetworkNsgIds, String shape, String timeZone, DbSystemOptions dbSystemOptions, LaunchDbSystemBase.StorageVolumePerformanceMode storageVolumePerformanceMode, Boolean sparseDiskgroup, List<String> sshPublicKeys, String hostname, String domain, Integer cpuCoreCount, String clusterName, Integer dataStoragePercentage, Integer initialDataStorageSizeInGB, String kmsKeyId, String kmsKeyVersionId, Integer nodeCount, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, String privateIp, String privateIpV6, DataCollectionOptions dataCollectionOptions, String sourceDbSystemId, CreateDbHomeFromDbSystemDetails dbHome, LaunchDbSystemFromDbSystemDetails.LicenseModel licenseModel)
Deprecated.
-
-
Method Detail
-
builder
public static LaunchDbSystemFromDbSystemDetails.Builder builder()
Create a new builder.
-
toBuilder
public LaunchDbSystemFromDbSystemDetails.Builder toBuilder()
-
getSourceDbSystemId
public String getSourceDbSystemId()
The OCID of the DB system.- Returns:
- the value
-
getDbHome
public CreateDbHomeFromDbSystemDetails getDbHome()
-
getLicenseModel
public LaunchDbSystemFromDbSystemDetails.LicenseModel getLicenseModel()
The Oracle license model that applies to all the databases on the DB system.The default is LICENSE_INCLUDED.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classLaunchDbSystemBase
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classLaunchDbSystemBase
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classLaunchDbSystemBase
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classLaunchDbSystemBase
-
-