@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateRefreshableAutonomousDatabaseCloneDetails extends CreateAutonomousDatabaseBase
Details to create an Oracle Autonomous Database refreshable clone.
Note: Objects should always be created or deserialized using the CreateRefreshableAutonomousDatabaseCloneDetails.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 CreateRefreshableAutonomousDatabaseCloneDetails.Builder
, which maintain a
set of all explicitly set fields called CreateRefreshableAutonomousDatabaseCloneDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateRefreshableAutonomousDatabaseCloneDetails.Builder |
static class |
CreateRefreshableAutonomousDatabaseCloneDetails.OpenMode
Indicates the Autonomous Database mode.
|
static class |
CreateRefreshableAutonomousDatabaseCloneDetails.RefreshableMode
The refresh mode of the clone.
|
CreateAutonomousDatabaseBase.AutonomousMaintenanceScheduleType, CreateAutonomousDatabaseBase.ComputeModel, CreateAutonomousDatabaseBase.DbWorkload, CreateAutonomousDatabaseBase.LicenseModel, CreateAutonomousDatabaseBase.Source
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateRefreshableAutonomousDatabaseCloneDetails(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 sourceId,
CreateRefreshableAutonomousDatabaseCloneDetails.RefreshableMode refreshableMode,
Integer autoRefreshFrequencyInSeconds,
Integer autoRefreshPointLagInSeconds,
Date timeOfAutoRefreshStart,
CreateRefreshableAutonomousDatabaseCloneDetails.OpenMode openMode)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateRefreshableAutonomousDatabaseCloneDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getAutoRefreshFrequencyInSeconds()
The frequency a refreshable clone is refreshed after auto-refresh is enabled.
|
Integer |
getAutoRefreshPointLagInSeconds()
The time, in seconds, the data of the refreshable clone lags the primary database at the
point of refresh.
|
CreateRefreshableAutonomousDatabaseCloneDetails.OpenMode |
getOpenMode()
Indicates the Autonomous Database mode.
|
CreateRefreshableAutonomousDatabaseCloneDetails.RefreshableMode |
getRefreshableMode()
The refresh mode of the clone.
|
String |
getSourceId()
The OCID of the
source Autonomous Database that you will clone to create a new Autonomous Database.
|
Date |
getTimeOfAutoRefreshStart()
The the date and time that auto-refreshing will begin for an Autonomous Database refreshable
clone.
|
int |
hashCode() |
CreateRefreshableAutonomousDatabaseCloneDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
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
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateRefreshableAutonomousDatabaseCloneDetails(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 sourceId, CreateRefreshableAutonomousDatabaseCloneDetails.RefreshableMode refreshableMode, Integer autoRefreshFrequencyInSeconds, Integer autoRefreshPointLagInSeconds, Date timeOfAutoRefreshStart, CreateRefreshableAutonomousDatabaseCloneDetails.OpenMode openMode)
public static CreateRefreshableAutonomousDatabaseCloneDetails.Builder builder()
Create a new builder.
public CreateRefreshableAutonomousDatabaseCloneDetails.Builder toBuilder()
public String getSourceId()
The OCID of the source Autonomous Database that you will clone to create a new Autonomous Database.
public CreateRefreshableAutonomousDatabaseCloneDetails.RefreshableMode getRefreshableMode()
The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
public Integer getAutoRefreshFrequencyInSeconds()
The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is
1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled
by the timeOfAutoRefreshStart
parameter.
public Integer getAutoRefreshPointLagInSeconds()
The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
public Date getTimeOfAutoRefreshStart()
The the date and time that auto-refreshing will begin for an Autonomous Database refreshable
clone. This value controls only the start time for the first refresh operation. Subsequent
(ongoing) refresh operations have start times controlled by the value of the autoRefreshFrequencyInSeconds
parameter.
public CreateRefreshableAutonomousDatabaseCloneDetails.OpenMode getOpenMode()
Indicates the Autonomous Database mode. The database can be opened in READ_ONLY
or
READ_WRITE
mode.
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.
public String toString()
toString
in class CreateAutonomousDatabaseBase
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateAutonomousDatabaseBase
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateAutonomousDatabaseBase
public int hashCode()
hashCode
in class CreateAutonomousDatabaseBase
Copyright © 2016–2024. All rights reserved.