Package com.oracle.bmc.database.model
Class CreateAutonomousDatabaseFromBackupDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.CreateAutonomousDatabaseBase
-
- com.oracle.bmc.database.model.CreateAutonomousDatabaseFromBackupDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateAutonomousDatabaseFromBackupDetails extends CreateAutonomousDatabaseBase
Details to create an Oracle Autonomous Database by cloning from a backup of an existing Autonomous Database.
Note: Objects should always be created or deserialized using theCreateAutonomousDatabaseFromBackupDetails.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 theCreateAutonomousDatabaseFromBackupDetails.Builder
, which maintain a set of all explicitly set fields calledCreateAutonomousDatabaseFromBackupDetails.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
CreateAutonomousDatabaseFromBackupDetails.Builder
static class
CreateAutonomousDatabaseFromBackupDetails.CloneType
The Autonomous Database clone type.-
Nested classes/interfaces inherited from class com.oracle.bmc.database.model.CreateAutonomousDatabaseBase
CreateAutonomousDatabaseBase.AutonomousMaintenanceScheduleType, CreateAutonomousDatabaseBase.ComputeModel, CreateAutonomousDatabaseBase.DbWorkload, CreateAutonomousDatabaseBase.LicenseModel, CreateAutonomousDatabaseBase.Source
-
-
Constructor Summary
Constructors Constructor Description CreateAutonomousDatabaseFromBackupDetails(String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, String dbName, Integer cpuCoreCount, Integer backupRetentionPeriodInDays, CreateAutonomousDatabaseBase.ComputeModel computeModel, Float computeCount, Float ocpuCount, CreateAutonomousDatabaseBase.DbWorkload dbWorkload, Integer dataStorageSizeInTBs, Integer dataStorageSizeInGBs, Boolean isFreeTier, String kmsKeyId, String vaultId, AutonomousDatabaseEncryptionKeyDetails encryptionKey, String adminPassword, String displayName, CreateAutonomousDatabaseBase.LicenseModel licenseModel, Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, Boolean isDedicated, String autonomousContainerDatabaseId, Integer inMemoryPercentage, Boolean isAccessControlEnabled, List<String> whitelistedIps, Boolean arePrimaryWhitelistedIpsUsed, List<String> standbyWhitelistedIps, Boolean isDataGuardEnabled, Boolean isLocalDataGuardEnabled, String subnetId, List<String> nsgIds, String privateEndpointLabel, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, String privateEndpointIp, String dbVersion, List<CustomerContact> customerContacts, Boolean isMtlsConnectionRequired, String resourcePoolLeaderId, ResourcePoolSummary resourcePoolSummary, CreateAutonomousDatabaseBase.AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType, List<ScheduledOperationDetails> scheduledOperations, Boolean isAutoScalingForStorageEnabled, AutonomousDatabaseSummary.DatabaseEdition databaseEdition, List<DatabaseTool> dbToolsDetails, Boolean isBackupRetentionLocked, String secretId, Integer secretVersionNumber, String autonomousDatabaseBackupId, CreateAutonomousDatabaseFromBackupDetails.CloneType cloneType, List<Integer> cloneTableSpaceList)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateAutonomousDatabaseFromBackupDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAutonomousDatabaseBackupId()
The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.List<Integer>
getCloneTableSpaceList()
A list of the source Autonomous Database’s table space number(s) used to create this partial clone from the backup.CreateAutonomousDatabaseFromBackupDetails.CloneType
getCloneType()
The Autonomous Database clone type.int
hashCode()
CreateAutonomousDatabaseFromBackupDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.database.model.CreateAutonomousDatabaseBase
getAdminPassword, getArePrimaryWhitelistedIpsUsed, getAutonomousContainerDatabaseId, getAutonomousMaintenanceScheduleType, getBackupRetentionPeriodInDays, getByolComputeCountLimit, getCharacterSet, getCompartmentId, getComputeCount, getComputeModel, getCpuCoreCount, getCustomerContacts, getDatabaseEdition, getDataStorageSizeInGBs, getDataStorageSizeInTBs, getDbName, getDbToolsDetails, getDbVersion, getDbWorkload, getDefinedTags, getDisplayName, getEncryptionKey, getFreeformTags, getInMemoryPercentage, getIsAccessControlEnabled, getIsAutoScalingEnabled, getIsAutoScalingForStorageEnabled, getIsBackupRetentionLocked, getIsDataGuardEnabled, getIsDedicated, getIsDevTier, getIsFreeTier, getIsLocalDataGuardEnabled, getIsMtlsConnectionRequired, getIsPreviewVersionWithServiceTermsAccepted, getKmsKeyId, getLicenseModel, getNcharacterSet, getNsgIds, getOcpuCount, getPrivateEndpointIp, getPrivateEndpointLabel, getResourcePoolLeaderId, getResourcePoolSummary, getScheduledOperations, getSecretId, getSecretVersionNumber, getSecurityAttributes, getStandbyWhitelistedIps, getSubnetId, getSubscriptionId, getVaultId, getWhitelistedIps
-
-
-
-
Constructor Detail
-
CreateAutonomousDatabaseFromBackupDetails
@Deprecated public CreateAutonomousDatabaseFromBackupDetails(String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, String dbName, Integer cpuCoreCount, Integer backupRetentionPeriodInDays, CreateAutonomousDatabaseBase.ComputeModel computeModel, Float computeCount, Float ocpuCount, CreateAutonomousDatabaseBase.DbWorkload dbWorkload, Integer dataStorageSizeInTBs, Integer dataStorageSizeInGBs, Boolean isFreeTier, String kmsKeyId, String vaultId, AutonomousDatabaseEncryptionKeyDetails encryptionKey, String adminPassword, String displayName, CreateAutonomousDatabaseBase.LicenseModel licenseModel, Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, Boolean isDedicated, String autonomousContainerDatabaseId, Integer inMemoryPercentage, Boolean isAccessControlEnabled, List<String> whitelistedIps, Boolean arePrimaryWhitelistedIpsUsed, List<String> standbyWhitelistedIps, Boolean isDataGuardEnabled, Boolean isLocalDataGuardEnabled, String subnetId, List<String> nsgIds, String privateEndpointLabel, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, String privateEndpointIp, String dbVersion, List<CustomerContact> customerContacts, Boolean isMtlsConnectionRequired, String resourcePoolLeaderId, ResourcePoolSummary resourcePoolSummary, CreateAutonomousDatabaseBase.AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType, List<ScheduledOperationDetails> scheduledOperations, Boolean isAutoScalingForStorageEnabled, AutonomousDatabaseSummary.DatabaseEdition databaseEdition, List<DatabaseTool> dbToolsDetails, Boolean isBackupRetentionLocked, String secretId, Integer secretVersionNumber, String autonomousDatabaseBackupId, CreateAutonomousDatabaseFromBackupDetails.CloneType cloneType, List<Integer> cloneTableSpaceList)
Deprecated.
-
-
Method Detail
-
builder
public static CreateAutonomousDatabaseFromBackupDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateAutonomousDatabaseFromBackupDetails.Builder toBuilder()
-
getAutonomousDatabaseBackupId
public String getAutonomousDatabaseBackupId()
The OCID of the source Autonomous Database Backup that you will clone to create a new Autonomous Database.- Returns:
- the value
-
getCloneType
public CreateAutonomousDatabaseFromBackupDetails.CloneType getCloneType()
The Autonomous Database clone type.- Returns:
- the value
-
getCloneTableSpaceList
public List<Integer> getCloneTableSpaceList()
A list of the source Autonomous Database’s table space number(s) used to create this partial clone from the backup.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classCreateAutonomousDatabaseBase
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classCreateAutonomousDatabaseBase
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCreateAutonomousDatabaseBase
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCreateAutonomousDatabaseBase
-
-