AutonomousDatabaseUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. oracledatabase. models. AutonomousDatabaseUpdateProperties
- com.
Implements
public final class AutonomousDatabaseUpdateProperties
implements JsonSerializable<AutonomousDatabaseUpdateProperties>
The updatable properties of the AutonomousDatabase.
Constructor Summary
| Constructor | Description |
|---|---|
| AutonomousDatabaseUpdateProperties() |
Creates an instance of Autonomous |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
adminPassword()
Get the admin |
|
Autonomous |
autonomousMaintenanceScheduleType()
Get the autonomous |
| Integer |
backupRetentionPeriodInDays()
Get the backup |
| Float |
computeCount()
Get the compute |
| Integer |
cpuCoreCount()
Get the cpu |
|
List<Customer |
customerContacts()
Get the customer |
|
Database |
databaseEdition()
Get the database |
| Integer |
dataStorageSizeInGbs()
Get the data |
| Integer |
dataStorageSizeInTbs()
Get the data |
| String |
displayName()
Get the display |
|
static
Autonomous |
fromJson(JsonReader jsonReader)
Reads an instance of Autonomous |
| Boolean |
isAutoScalingEnabled()
Get the is |
| Boolean |
isAutoScalingForStorageEnabled()
Get the is |
| Boolean |
isLocalDataGuardEnabled()
Get the is |
| Boolean |
isMtlsConnectionRequired()
Get the is |
|
License |
licenseModel()
Get the license |
| Integer |
localAdgAutoFailoverMaxDataLossLimit()
Get the local |
|
Long |
longTermBackupSchedule()
Get the long |
|
Open |
openMode()
Get the open |
| String |
peerDbId()
Get the peer |
|
Permission |
permissionLevel()
Get the permission |
|
Role |
role()
Get the role property: The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. |
|
Scheduled |
scheduledOperations()
Get the scheduled |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| List<String> |
whitelistedIps()
Get the whitelisted |
|
Autonomous |
withAdminPassword(String adminPassword)
Set the admin |
|
Autonomous |
withAutonomousMaintenanceScheduleType(AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType)
Set the autonomous |
|
Autonomous |
withBackupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)
Set the backup |
|
Autonomous |
withComputeCount(Float computeCount)
Set the compute |
|
Autonomous |
withCpuCoreCount(Integer cpuCoreCount)
Set the cpu |
|
Autonomous |
withCustomerContacts(List<CustomerContact> customerContacts)
Set the customer |
|
Autonomous |
withDatabaseEdition(DatabaseEditionType databaseEdition)
Set the database |
|
Autonomous |
withDataStorageSizeInGbs(Integer dataStorageSizeInGbs)
Set the data |
|
Autonomous |
withDataStorageSizeInTbs(Integer dataStorageSizeInTbs)
Set the data |
|
Autonomous |
withDisplayName(String displayName)
Set the display |
|
Autonomous |
withIsAutoScalingEnabled(Boolean isAutoScalingEnabled)
Set the is |
|
Autonomous |
withIsAutoScalingForStorageEnabled(Boolean isAutoScalingForStorageEnabled)
Set the is |
|
Autonomous |
withIsLocalDataGuardEnabled(Boolean isLocalDataGuardEnabled)
Set the is |
|
Autonomous |
withIsMtlsConnectionRequired(Boolean isMtlsConnectionRequired)
Set the is |
|
Autonomous |
withLicenseModel(LicenseModel licenseModel)
Set the license |
|
Autonomous |
withLocalAdgAutoFailoverMaxDataLossLimit(Integer localAdgAutoFailoverMaxDataLossLimit)
Set the local |
|
Autonomous |
withLongTermBackupSchedule(LongTermBackUpScheduleDetails longTermBackupSchedule)
Set the long |
|
Autonomous |
withOpenMode(OpenModeType openMode)
Set the open |
|
Autonomous |
withPeerDbId(String peerDbId)
Set the peer |
|
Autonomous |
withPermissionLevel(PermissionLevelType permissionLevel)
Set the permission |
|
Autonomous |
withRole(RoleType role)
Set the role property: The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. |
|
Autonomous |
withScheduledOperations(ScheduledOperationsTypeUpdate scheduledOperations)
Set the scheduled |
|
Autonomous |
withWhitelistedIps(List<String> whitelistedIps)
Set the whitelisted |
Methods inherited from java.lang.Object
Constructor Details
AutonomousDatabaseUpdateProperties
public AutonomousDatabaseUpdateProperties()
Creates an instance of AutonomousDatabaseUpdateProperties class.
Method Details
adminPassword
public String adminPassword()
Get the adminPassword property: Admin password.
Returns:
autonomousMaintenanceScheduleType
public AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType()
Get the autonomousMaintenanceScheduleType property: The maintenance schedule type of the Autonomous Database Serverless.
Returns:
backupRetentionPeriodInDays
public Integer backupRetentionPeriodInDays()
Get the backupRetentionPeriodInDays property: Retention period, in days, for long-term backups.
Returns:
computeCount
public Float computeCount()
Get the computeCount property: The compute amount (CPUs) available to the database.
Returns:
cpuCoreCount
public Integer cpuCoreCount()
Get the cpuCoreCount property: The number of CPU cores to be made available to the database.
Returns:
customerContacts
public List<CustomerContact> customerContacts()
Get the customerContacts property: Customer Contacts.
Returns:
databaseEdition
public DatabaseEditionType databaseEdition()
Get the databaseEdition property: The Oracle Database Edition that applies to the Autonomous databases.
Returns:
dataStorageSizeInGbs
public Integer dataStorageSizeInGbs()
Get the dataStorageSizeInGbs property: The size, in gigabytes, of the data volume that will be created and attached to the database.
Returns:
dataStorageSizeInTbs
public Integer dataStorageSizeInTbs()
Get the dataStorageSizeInTbs property: The quantity of data in the database, in terabytes.
Returns:
displayName
public String displayName()
Get the displayName property: The user-friendly name for the Autonomous Database.
Returns:
fromJson
public static AutonomousDatabaseUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of AutonomousDatabaseUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
isAutoScalingEnabled
public Boolean isAutoScalingEnabled()
Get the isAutoScalingEnabled property: Indicates if auto scaling is enabled for the Autonomous Database CPU core count.
Returns:
isAutoScalingForStorageEnabled
public Boolean isAutoScalingForStorageEnabled()
Get the isAutoScalingForStorageEnabled property: Indicates if auto scaling is enabled for the Autonomous Database storage.
Returns:
isLocalDataGuardEnabled
public Boolean isLocalDataGuardEnabled()
Get the isLocalDataGuardEnabled property: Indicates whether the Autonomous Database has local or called in-region Data Guard enabled.
Returns:
isMtlsConnectionRequired
public Boolean isMtlsConnectionRequired()
Get the isMtlsConnectionRequired property: Specifies if the Autonomous Database requires mTLS connections.
Returns:
licenseModel
public LicenseModel licenseModel()
Get the licenseModel property: The Oracle license model that applies to the Oracle Autonomous Database. The default is LICENSE_INCLUDED.
Returns:
localAdgAutoFailoverMaxDataLossLimit
public Integer localAdgAutoFailoverMaxDataLossLimit()
Get the localAdgAutoFailoverMaxDataLossLimit property: Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard.
Returns:
longTermBackupSchedule
public LongTermBackUpScheduleDetails longTermBackupSchedule()
Get the longTermBackupSchedule property: Details for the long-term backup schedule.
Returns:
openMode
public OpenModeType openMode()
Get the openMode property: Indicates the Autonomous Database mode.
Returns:
peerDbId
public String peerDbId()
Get the peerDbId property: The database OCID of the Disaster Recovery peer database, which is located in a different region from the current peer database.
Returns:
permissionLevel
public PermissionLevelType permissionLevel()
Get the permissionLevel property: The Autonomous Database permission level.
Returns:
role
public RoleType role()
Get the role property: The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
Returns:
scheduledOperations
public ScheduledOperationsTypeUpdate scheduledOperations()
Get the scheduledOperations property: The list of scheduled operations.
Returns:
toJson
validate
public void validate()
Validates the instance.
whitelistedIps
public List<String> whitelistedIps()
Get the whitelistedIps property: The client IP access control list (ACL). This is an array of CIDR notations and/or IP addresses. Values should be separate strings, separated by commas. Example: ['1.1.1.1','1.1.1.0/24','1.1.2.25'].
Returns:
withAdminPassword
public AutonomousDatabaseUpdateProperties withAdminPassword(String adminPassword)
Set the adminPassword property: Admin password.
Parameters:
Returns:
withAutonomousMaintenanceScheduleType
public AutonomousDatabaseUpdateProperties withAutonomousMaintenanceScheduleType(AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType)
Set the autonomousMaintenanceScheduleType property: The maintenance schedule type of the Autonomous Database Serverless.
Parameters:
Returns:
withBackupRetentionPeriodInDays
public AutonomousDatabaseUpdateProperties withBackupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)
Set the backupRetentionPeriodInDays property: Retention period, in days, for long-term backups.
Parameters:
Returns:
withComputeCount
public AutonomousDatabaseUpdateProperties withComputeCount(Float computeCount)
Set the computeCount property: The compute amount (CPUs) available to the database.
Parameters:
Returns:
withCpuCoreCount
public AutonomousDatabaseUpdateProperties withCpuCoreCount(Integer cpuCoreCount)
Set the cpuCoreCount property: The number of CPU cores to be made available to the database.
Parameters:
Returns:
withCustomerContacts
public AutonomousDatabaseUpdateProperties withCustomerContacts(List<CustomerContact> customerContacts)
Set the customerContacts property: Customer Contacts.
Parameters:
Returns:
withDatabaseEdition
public AutonomousDatabaseUpdateProperties withDatabaseEdition(DatabaseEditionType databaseEdition)
Set the databaseEdition property: The Oracle Database Edition that applies to the Autonomous databases.
Parameters:
Returns:
withDataStorageSizeInGbs
public AutonomousDatabaseUpdateProperties withDataStorageSizeInGbs(Integer dataStorageSizeInGbs)
Set the dataStorageSizeInGbs property: The size, in gigabytes, of the data volume that will be created and attached to the database.
Parameters:
Returns:
withDataStorageSizeInTbs
public AutonomousDatabaseUpdateProperties withDataStorageSizeInTbs(Integer dataStorageSizeInTbs)
Set the dataStorageSizeInTbs property: The quantity of data in the database, in terabytes.
Parameters:
Returns:
withDisplayName
public AutonomousDatabaseUpdateProperties withDisplayName(String displayName)
Set the displayName property: The user-friendly name for the Autonomous Database.
Parameters:
Returns:
withIsAutoScalingEnabled
public AutonomousDatabaseUpdateProperties withIsAutoScalingEnabled(Boolean isAutoScalingEnabled)
Set the isAutoScalingEnabled property: Indicates if auto scaling is enabled for the Autonomous Database CPU core count.
Parameters:
Returns:
withIsAutoScalingForStorageEnabled
public AutonomousDatabaseUpdateProperties withIsAutoScalingForStorageEnabled(Boolean isAutoScalingForStorageEnabled)
Set the isAutoScalingForStorageEnabled property: Indicates if auto scaling is enabled for the Autonomous Database storage.
Parameters:
Returns:
withIsLocalDataGuardEnabled
public AutonomousDatabaseUpdateProperties withIsLocalDataGuardEnabled(Boolean isLocalDataGuardEnabled)
Set the isLocalDataGuardEnabled property: Indicates whether the Autonomous Database has local or called in-region Data Guard enabled.
Parameters:
Returns:
withIsMtlsConnectionRequired
public AutonomousDatabaseUpdateProperties withIsMtlsConnectionRequired(Boolean isMtlsConnectionRequired)
Set the isMtlsConnectionRequired property: Specifies if the Autonomous Database requires mTLS connections.
Parameters:
Returns:
withLicenseModel
public AutonomousDatabaseUpdateProperties withLicenseModel(LicenseModel licenseModel)
Set the licenseModel property: The Oracle license model that applies to the Oracle Autonomous Database. The default is LICENSE_INCLUDED.
Parameters:
Returns:
withLocalAdgAutoFailoverMaxDataLossLimit
public AutonomousDatabaseUpdateProperties withLocalAdgAutoFailoverMaxDataLossLimit(Integer localAdgAutoFailoverMaxDataLossLimit)
Set the localAdgAutoFailoverMaxDataLossLimit property: Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard.
Parameters:
Returns:
withLongTermBackupSchedule
public AutonomousDatabaseUpdateProperties withLongTermBackupSchedule(LongTermBackUpScheduleDetails longTermBackupSchedule)
Set the longTermBackupSchedule property: Details for the long-term backup schedule.
Parameters:
Returns:
withOpenMode
public AutonomousDatabaseUpdateProperties withOpenMode(OpenModeType openMode)
Set the openMode property: Indicates the Autonomous Database mode.
Parameters:
Returns:
withPeerDbId
public AutonomousDatabaseUpdateProperties withPeerDbId(String peerDbId)
Set the peerDbId property: The database OCID of the Disaster Recovery peer database, which is located in a different region from the current peer database.
Parameters:
Returns:
withPermissionLevel
public AutonomousDatabaseUpdateProperties withPermissionLevel(PermissionLevelType permissionLevel)
Set the permissionLevel property: The Autonomous Database permission level.
Parameters:
Returns:
withRole
public AutonomousDatabaseUpdateProperties withRole(RoleType role)
Set the role property: The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
Parameters:
Returns:
withScheduledOperations
public AutonomousDatabaseUpdateProperties withScheduledOperations(ScheduledOperationsTypeUpdate scheduledOperations)
Set the scheduledOperations property: The list of scheduled operations.
Parameters:
Returns:
withWhitelistedIps
public AutonomousDatabaseUpdateProperties withWhitelistedIps(List<String> whitelistedIps)
Set the whitelistedIps property: The client IP access control list (ACL). This is an array of CIDR notations and/or IP addresses. Values should be separate strings, separated by commas. Example: ['1.1.1.1','1.1.1.0/24','1.1.2.25'].
Parameters:
Returns: