Partager via


AutonomousDatabaseUpdateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseUpdateProperties

Implements

public final class AutonomousDatabaseUpdateProperties
implements JsonSerializable<AutonomousDatabaseUpdateProperties>

The updatable properties of the AutonomousDatabase.

Constructor Summary

Constructor Description
AutonomousDatabaseUpdateProperties()

Creates an instance of AutonomousDatabaseUpdateProperties class.

Method Summary

Modifier and Type Method and Description
String adminPassword()

Get the adminPassword property: Admin password.

AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType()

Get the autonomousMaintenanceScheduleType property: The maintenance schedule type of the Autonomous Database Serverless.

Integer backupRetentionPeriodInDays()

Get the backupRetentionPeriodInDays property: Retention period, in days, for long-term backups.

Float computeCount()

Get the computeCount property: The compute amount (CPUs) available to the database.

Integer cpuCoreCount()

Get the cpuCoreCount property: The number of CPU cores to be made available to the database.

List<CustomerContact> customerContacts()

Get the customerContacts property: Customer Contacts.

DatabaseEditionType databaseEdition()

Get the databaseEdition property: The Oracle Database Edition that applies to the Autonomous databases.

Integer dataStorageSizeInGbs()

Get the dataStorageSizeInGbs property: The size, in gigabytes, of the data volume that will be created and attached to the database.

Integer dataStorageSizeInTbs()

Get the dataStorageSizeInTbs property: The quantity of data in the database, in terabytes.

String displayName()

Get the displayName property: The user-friendly name for the Autonomous Database.

static AutonomousDatabaseUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of AutonomousDatabaseUpdateProperties from the JsonReader.

Boolean isAutoScalingEnabled()

Get the isAutoScalingEnabled property: Indicates if auto scaling is enabled for the Autonomous Database CPU core count.

Boolean isAutoScalingForStorageEnabled()

Get the isAutoScalingForStorageEnabled property: Indicates if auto scaling is enabled for the Autonomous Database storage.

Boolean isLocalDataGuardEnabled()

Get the isLocalDataGuardEnabled property: Indicates whether the Autonomous Database has local or called in-region Data Guard enabled.

Boolean isMtlsConnectionRequired()

Get the isMtlsConnectionRequired property: Specifies if the Autonomous Database requires mTLS connections.

LicenseModel licenseModel()

Get the licenseModel property: The Oracle license model that applies to the Oracle Autonomous Database.

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.

LongTermBackUpScheduleDetails longTermBackupSchedule()

Get the longTermBackupSchedule property: Details for the long-term backup schedule.

OpenModeType openMode()

Get the openMode property: Indicates the Autonomous Database mode.

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.

PermissionLevelType permissionLevel()

Get the permissionLevel property: The Autonomous Database permission level.

RoleType role()

Get the role property: The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.

ScheduledOperationsTypeUpdate scheduledOperations()

Get the scheduledOperations property: The list of scheduled operations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<String> whitelistedIps()

Get the whitelistedIps property: The client IP access control list (ACL).

AutonomousDatabaseUpdateProperties withAdminPassword(String adminPassword)

Set the adminPassword property: Admin password.

AutonomousDatabaseUpdateProperties withAutonomousMaintenanceScheduleType(AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType)

Set the autonomousMaintenanceScheduleType property: The maintenance schedule type of the Autonomous Database Serverless.

AutonomousDatabaseUpdateProperties withBackupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)

Set the backupRetentionPeriodInDays property: Retention period, in days, for long-term backups.

AutonomousDatabaseUpdateProperties withComputeCount(Float computeCount)

Set the computeCount property: The compute amount (CPUs) available to the database.

AutonomousDatabaseUpdateProperties withCpuCoreCount(Integer cpuCoreCount)

Set the cpuCoreCount property: The number of CPU cores to be made available to the database.

AutonomousDatabaseUpdateProperties withCustomerContacts(List<CustomerContact> customerContacts)

Set the customerContacts property: Customer Contacts.

AutonomousDatabaseUpdateProperties withDatabaseEdition(DatabaseEditionType databaseEdition)

Set the databaseEdition property: The Oracle Database Edition that applies to the Autonomous databases.

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.

AutonomousDatabaseUpdateProperties withDataStorageSizeInTbs(Integer dataStorageSizeInTbs)

Set the dataStorageSizeInTbs property: The quantity of data in the database, in terabytes.

AutonomousDatabaseUpdateProperties withDisplayName(String displayName)

Set the displayName property: The user-friendly name for the Autonomous Database.

AutonomousDatabaseUpdateProperties withIsAutoScalingEnabled(Boolean isAutoScalingEnabled)

Set the isAutoScalingEnabled property: Indicates if auto scaling is enabled for the Autonomous Database CPU core count.

AutonomousDatabaseUpdateProperties withIsAutoScalingForStorageEnabled(Boolean isAutoScalingForStorageEnabled)

Set the isAutoScalingForStorageEnabled property: Indicates if auto scaling is enabled for the Autonomous Database storage.

AutonomousDatabaseUpdateProperties withIsLocalDataGuardEnabled(Boolean isLocalDataGuardEnabled)

Set the isLocalDataGuardEnabled property: Indicates whether the Autonomous Database has local or called in-region Data Guard enabled.

AutonomousDatabaseUpdateProperties withIsMtlsConnectionRequired(Boolean isMtlsConnectionRequired)

Set the isMtlsConnectionRequired property: Specifies if the Autonomous Database requires mTLS connections.

AutonomousDatabaseUpdateProperties withLicenseModel(LicenseModel licenseModel)

Set the licenseModel property: The Oracle license model that applies to the Oracle Autonomous Database.

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.

AutonomousDatabaseUpdateProperties withLongTermBackupSchedule(LongTermBackUpScheduleDetails longTermBackupSchedule)

Set the longTermBackupSchedule property: Details for the long-term backup schedule.

AutonomousDatabaseUpdateProperties withOpenMode(OpenModeType openMode)

Set the openMode property: Indicates the Autonomous Database mode.

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.

AutonomousDatabaseUpdateProperties withPermissionLevel(PermissionLevelType permissionLevel)

Set the permissionLevel property: The Autonomous Database permission level.

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.

AutonomousDatabaseUpdateProperties withScheduledOperations(ScheduledOperationsTypeUpdate scheduledOperations)

Set the scheduledOperations property: The list of scheduled operations.

AutonomousDatabaseUpdateProperties withWhitelistedIps(List<String> whitelistedIps)

Set the whitelistedIps property: The client IP access control list (ACL).

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:

the adminPassword value.

autonomousMaintenanceScheduleType

public AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType()

Get the autonomousMaintenanceScheduleType property: The maintenance schedule type of the Autonomous Database Serverless.

Returns:

the autonomousMaintenanceScheduleType value.

backupRetentionPeriodInDays

public Integer backupRetentionPeriodInDays()

Get the backupRetentionPeriodInDays property: Retention period, in days, for long-term backups.

Returns:

the backupRetentionPeriodInDays value.

computeCount

public Float computeCount()

Get the computeCount property: The compute amount (CPUs) available to the database.

Returns:

the computeCount value.

cpuCoreCount

public Integer cpuCoreCount()

Get the cpuCoreCount property: The number of CPU cores to be made available to the database.

Returns:

the cpuCoreCount value.

customerContacts

public List<CustomerContact> customerContacts()

Get the customerContacts property: Customer Contacts.

Returns:

the customerContacts value.

databaseEdition

public DatabaseEditionType databaseEdition()

Get the databaseEdition property: The Oracle Database Edition that applies to the Autonomous databases.

Returns:

the databaseEdition value.

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:

the dataStorageSizeInGbs value.

dataStorageSizeInTbs

public Integer dataStorageSizeInTbs()

Get the dataStorageSizeInTbs property: The quantity of data in the database, in terabytes.

Returns:

the dataStorageSizeInTbs value.

displayName

public String displayName()

Get the displayName property: The user-friendly name for the Autonomous Database.

Returns:

the displayName value.

fromJson

public static AutonomousDatabaseUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of AutonomousDatabaseUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AutonomousDatabaseUpdateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AutonomousDatabaseUpdateProperties.

isAutoScalingEnabled

public Boolean isAutoScalingEnabled()

Get the isAutoScalingEnabled property: Indicates if auto scaling is enabled for the Autonomous Database CPU core count.

Returns:

the isAutoScalingEnabled value.

isAutoScalingForStorageEnabled

public Boolean isAutoScalingForStorageEnabled()

Get the isAutoScalingForStorageEnabled property: Indicates if auto scaling is enabled for the Autonomous Database storage.

Returns:

the isAutoScalingForStorageEnabled value.

isLocalDataGuardEnabled

public Boolean isLocalDataGuardEnabled()

Get the isLocalDataGuardEnabled property: Indicates whether the Autonomous Database has local or called in-region Data Guard enabled.

Returns:

the isLocalDataGuardEnabled value.

isMtlsConnectionRequired

public Boolean isMtlsConnectionRequired()

Get the isMtlsConnectionRequired property: Specifies if the Autonomous Database requires mTLS connections.

Returns:

the isMtlsConnectionRequired value.

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:

the licenseModel value.

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:

the localAdgAutoFailoverMaxDataLossLimit value.

longTermBackupSchedule

public LongTermBackUpScheduleDetails longTermBackupSchedule()

Get the longTermBackupSchedule property: Details for the long-term backup schedule.

Returns:

the longTermBackupSchedule value.

openMode

public OpenModeType openMode()

Get the openMode property: Indicates the Autonomous Database mode.

Returns:

the openMode value.

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:

the peerDbId value.

permissionLevel

public PermissionLevelType permissionLevel()

Get the permissionLevel property: The Autonomous Database permission level.

Returns:

the permissionLevel value.

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:

the role value.

scheduledOperations

public ScheduledOperationsTypeUpdate scheduledOperations()

Get the scheduledOperations property: The list of scheduled operations.

Returns:

the scheduledOperations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

the whitelistedIps value.

withAdminPassword

public AutonomousDatabaseUpdateProperties withAdminPassword(String adminPassword)

Set the adminPassword property: Admin password.

Parameters:

adminPassword - the adminPassword value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withAutonomousMaintenanceScheduleType

public AutonomousDatabaseUpdateProperties withAutonomousMaintenanceScheduleType(AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType)

Set the autonomousMaintenanceScheduleType property: The maintenance schedule type of the Autonomous Database Serverless.

Parameters:

autonomousMaintenanceScheduleType - the autonomousMaintenanceScheduleType value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withBackupRetentionPeriodInDays

public AutonomousDatabaseUpdateProperties withBackupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)

Set the backupRetentionPeriodInDays property: Retention period, in days, for long-term backups.

Parameters:

backupRetentionPeriodInDays - the backupRetentionPeriodInDays value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withComputeCount

public AutonomousDatabaseUpdateProperties withComputeCount(Float computeCount)

Set the computeCount property: The compute amount (CPUs) available to the database.

Parameters:

computeCount - the computeCount value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withCpuCoreCount

public AutonomousDatabaseUpdateProperties withCpuCoreCount(Integer cpuCoreCount)

Set the cpuCoreCount property: The number of CPU cores to be made available to the database.

Parameters:

cpuCoreCount - the cpuCoreCount value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withCustomerContacts

public AutonomousDatabaseUpdateProperties withCustomerContacts(List<CustomerContact> customerContacts)

Set the customerContacts property: Customer Contacts.

Parameters:

customerContacts - the customerContacts value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withDatabaseEdition

public AutonomousDatabaseUpdateProperties withDatabaseEdition(DatabaseEditionType databaseEdition)

Set the databaseEdition property: The Oracle Database Edition that applies to the Autonomous databases.

Parameters:

databaseEdition - the databaseEdition value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

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:

dataStorageSizeInGbs - the dataStorageSizeInGbs value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withDataStorageSizeInTbs

public AutonomousDatabaseUpdateProperties withDataStorageSizeInTbs(Integer dataStorageSizeInTbs)

Set the dataStorageSizeInTbs property: The quantity of data in the database, in terabytes.

Parameters:

dataStorageSizeInTbs - the dataStorageSizeInTbs value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withDisplayName

public AutonomousDatabaseUpdateProperties withDisplayName(String displayName)

Set the displayName property: The user-friendly name for the Autonomous Database.

Parameters:

displayName - the displayName value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withIsAutoScalingEnabled

public AutonomousDatabaseUpdateProperties withIsAutoScalingEnabled(Boolean isAutoScalingEnabled)

Set the isAutoScalingEnabled property: Indicates if auto scaling is enabled for the Autonomous Database CPU core count.

Parameters:

isAutoScalingEnabled - the isAutoScalingEnabled value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withIsAutoScalingForStorageEnabled

public AutonomousDatabaseUpdateProperties withIsAutoScalingForStorageEnabled(Boolean isAutoScalingForStorageEnabled)

Set the isAutoScalingForStorageEnabled property: Indicates if auto scaling is enabled for the Autonomous Database storage.

Parameters:

isAutoScalingForStorageEnabled - the isAutoScalingForStorageEnabled value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

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:

isLocalDataGuardEnabled - the isLocalDataGuardEnabled value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withIsMtlsConnectionRequired

public AutonomousDatabaseUpdateProperties withIsMtlsConnectionRequired(Boolean isMtlsConnectionRequired)

Set the isMtlsConnectionRequired property: Specifies if the Autonomous Database requires mTLS connections.

Parameters:

isMtlsConnectionRequired - the isMtlsConnectionRequired value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

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:

licenseModel - the licenseModel value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

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:

localAdgAutoFailoverMaxDataLossLimit - the localAdgAutoFailoverMaxDataLossLimit value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withLongTermBackupSchedule

public AutonomousDatabaseUpdateProperties withLongTermBackupSchedule(LongTermBackUpScheduleDetails longTermBackupSchedule)

Set the longTermBackupSchedule property: Details for the long-term backup schedule.

Parameters:

longTermBackupSchedule - the longTermBackupSchedule value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withOpenMode

public AutonomousDatabaseUpdateProperties withOpenMode(OpenModeType openMode)

Set the openMode property: Indicates the Autonomous Database mode.

Parameters:

openMode - the openMode value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

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:

peerDbId - the peerDbId value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withPermissionLevel

public AutonomousDatabaseUpdateProperties withPermissionLevel(PermissionLevelType permissionLevel)

Set the permissionLevel property: The Autonomous Database permission level.

Parameters:

permissionLevel - the permissionLevel value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

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:

role - the role value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

withScheduledOperations

public AutonomousDatabaseUpdateProperties withScheduledOperations(ScheduledOperationsTypeUpdate scheduledOperations)

Set the scheduledOperations property: The list of scheduled operations.

Parameters:

scheduledOperations - the scheduledOperations value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

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:

whitelistedIps - the whitelistedIps value to set.

Returns:

the AutonomousDatabaseUpdateProperties object itself.

Applies to