Class UpdateAutonomousDatabaseRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAutonomousDatabaseRequest.Builder,UpdateAutonomousDatabaseRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe new password for theADMINuser of the Autonomous Database.The list of IP addresses that are allowed to access the Autonomous Database.final StringThe unique identifier of the Autonomous Database to update.The maintenance schedule type for the Autonomous Database.final StringThe maintenance schedule type for the Autonomous Database.final IntegerThe frequency, in seconds, at which the refreshable clone Autonomous Database is automatically refreshed.final IntegerThe time lag, in seconds, between the refreshable clone and its source Autonomous Database.final IntegerThe retention period, in days, for automatic backups of the Autonomous Database.builder()final DoubleThe maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.final DoubleThe compute capacity, in number of ECPUs or OCPUs, to assign to the Autonomous Database.final IntegerThe number of CPU cores to allocate to the Autonomous Database.final List<CustomerContact> The list of customer contacts to receive operational notifications from OCI for the Autonomous Database.final DatabaseEditionThe Oracle Database edition to apply to the Autonomous Database.final StringThe Oracle Database edition to apply to the Autonomous Database.final IntegerThe size, in gigabytes (GB), of the data volume to allocate for the Autonomous Database.final IntegerThe size, in terabytes (TB), of the data volume to allocate for the Autonomous Database.final StringdbName()The new name of the Autonomous Database.final List<DatabaseTool> The list of database management tools to enable for the Autonomous Database.final StringThe Oracle Database software version to use for the Autonomous Database.final DbWorkloadThe intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.final StringThe intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.final StringThe new user-friendly name for the Autonomous Database.The configuration of the encryption key to use for the Autonomous Database.The provider of the encryption key to use for the Autonomous Database.final StringThe provider of the encryption key to use for the Autonomous Database.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final booleanFor responses, this returns true if the service returned a value for the AllowlistedIps property.final booleanFor responses, this returns true if the service returned a value for the CustomerContactsToSendToOCI property.final booleanFor responses, this returns true if the service returned a value for the DbToolsDetails property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the ScheduledOperations property.final booleanFor responses, this returns true if the service returned a value for the StandbyAllowlistedIps property.final BooleanSpecifies whether to enable automatic scaling of the compute resources for the Autonomous Database.final BooleanSpecifies whether to enable automatic scaling of the storage for the Autonomous Database.final BooleanSpecifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.final BooleanSpecifies whether to disconnect the Autonomous Database from its peer database.final BooleanSpecifies whether to enable local Oracle Data Guard for the Autonomous Database.final BooleanSpecifies whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.final BooleanSpecifies whether the Autonomous Database is a refreshable clone.final LicenseModelThe Oracle license model to apply to the Autonomous Database.final StringThe Oracle license model to apply to the Autonomous Database.final IntegerThe maximum data loss limit, in seconds, for automatic failover to the local Oracle Data Guard standby database.final LongTermBackupScheduleThe long-term backup schedule for the Autonomous Database.final OpenModeopenMode()The mode in which to open the Autonomous Database, either read-only or read/write.final StringThe mode in which to open the Autonomous Database, either read-only or read/write.final StringpeerDbId()The unique identifier of the peer Autonomous Database.final PermissionLevelThe permission level of the Autonomous Database.final StringThe permission level of the Autonomous Database.final StringThe private endpoint IP address for the Autonomous Database.final StringThe private endpoint label for the Autonomous Database.final RefreshableModeThe refresh mode of the refreshable clone Autonomous Database.final StringThe refresh mode of the refreshable clone Autonomous Database.final StringThe unique identifier of the resource pool leader Autonomous Database.final ResourcePoolSummaryThe configuration of the resource pool for the Autonomous Database.final List<ScheduledOperationDetails> The list of scheduled start and stop times for the Autonomous Database.static Class<? extends UpdateAutonomousDatabaseRequest.Builder> The list of IP addresses that are allowed to access the standby Autonomous Database.The source of the allowlisted IP addresses for the standby Autonomous Database.final StringThe source of the allowlisted IP addresses for the standby Autonomous Database.final InstantThe date and time at which the automatic refresh of the refreshable clone Autonomous Database starts.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
autonomousDatabaseId
The unique identifier of the Autonomous Database to update.
- Returns:
- The unique identifier of the Autonomous Database to update.
-
adminPassword
The new password for the
ADMINuser of the Autonomous Database.- Returns:
- The new password for the
ADMINuser of the Autonomous Database.
-
computeCount
The compute capacity, in number of ECPUs or OCPUs, to assign to the Autonomous Database.
- Returns:
- The compute capacity, in number of ECPUs or OCPUs, to assign to the Autonomous Database.
-
cpuCoreCount
The number of CPU cores to allocate to the Autonomous Database.
- Returns:
- The number of CPU cores to allocate to the Autonomous Database.
-
dataStorageSizeInTBs
The size, in terabytes (TB), of the data volume to allocate for the Autonomous Database.
- Returns:
- The size, in terabytes (TB), of the data volume to allocate for the Autonomous Database.
-
dataStorageSizeInGBs
The size, in gigabytes (GB), of the data volume to allocate for the Autonomous Database.
- Returns:
- The size, in gigabytes (GB), of the data volume to allocate for the Autonomous Database.
-
displayName
The new user-friendly name for the Autonomous Database.
- Returns:
- The new user-friendly name for the Autonomous Database.
-
dbName
The new name of the Autonomous Database.
- Returns:
- The new name of the Autonomous Database.
-
dbVersion
The Oracle Database software version to use for the Autonomous Database.
- Returns:
- The Oracle Database software version to use for the Autonomous Database.
-
dbWorkload
The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.
If the service returns an enum value that is not available in the current SDK version,
dbWorkloadwill returnDbWorkload.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdbWorkloadAsString().- Returns:
- The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.
- See Also:
-
dbWorkloadAsString
The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.
If the service returns an enum value that is not available in the current SDK version,
dbWorkloadwill returnDbWorkload.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdbWorkloadAsString().- Returns:
- The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.
- See Also:
-
hasDbToolsDetails
public final boolean hasDbToolsDetails()For responses, this returns true if the service returned a value for the DbToolsDetails property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
dbToolsDetails
The list of database management tools to enable for the Autonomous Database.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDbToolsDetails()method.- Returns:
- The list of database management tools to enable for the Autonomous Database.
-
databaseEdition
The Oracle Database edition to apply to the Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
databaseEditionwill returnDatabaseEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdatabaseEditionAsString().- Returns:
- The Oracle Database edition to apply to the Autonomous Database.
- See Also:
-
databaseEditionAsString
The Oracle Database edition to apply to the Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
databaseEditionwill returnDatabaseEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdatabaseEditionAsString().- Returns:
- The Oracle Database edition to apply to the Autonomous Database.
- See Also:
-
licenseModel
The Oracle license model to apply to the Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
licenseModelwill returnLicenseModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseModelAsString().- Returns:
- The Oracle license model to apply to the Autonomous Database.
- See Also:
-
licenseModelAsString
The Oracle license model to apply to the Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
licenseModelwill returnLicenseModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseModelAsString().- Returns:
- The Oracle license model to apply to the Autonomous Database.
- See Also:
-
isAutoScalingEnabled
Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.
- Returns:
- Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.
-
isAutoScalingForStorageEnabled
Specifies whether to enable automatic scaling of the storage for the Autonomous Database.
- Returns:
- Specifies whether to enable automatic scaling of the storage for the Autonomous Database.
-
isBackupRetentionLocked
Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.
- Returns:
- Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.
-
isLocalDataGuardEnabled
Specifies whether to enable local Oracle Data Guard for the Autonomous Database.
- Returns:
- Specifies whether to enable local Oracle Data Guard for the Autonomous Database.
-
isMtlsConnectionRequired
Specifies whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.
- Returns:
- Specifies whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.
-
isRefreshableClone
Specifies whether the Autonomous Database is a refreshable clone.
- Returns:
- Specifies whether the Autonomous Database is a refreshable clone.
-
isDisconnectPeer
Specifies whether to disconnect the Autonomous Database from its peer database.
- Returns:
- Specifies whether to disconnect the Autonomous Database from its peer database.
-
backupRetentionPeriodInDays
The retention period, in days, for automatic backups of the Autonomous Database.
- Returns:
- The retention period, in days, for automatic backups of the Autonomous Database.
-
byolComputeCountLimit
The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.
- Returns:
- The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.
-
localAdgAutoFailoverMaxDataLossLimit
The maximum data loss limit, in seconds, for automatic failover to the local Oracle Data Guard standby database.
- Returns:
- The maximum data loss limit, in seconds, for automatic failover to the local Oracle Data Guard standby database.
-
autonomousMaintenanceScheduleType
The maintenance schedule type for the Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
autonomousMaintenanceScheduleTypewill returnAutonomousMaintenanceScheduleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautonomousMaintenanceScheduleTypeAsString().- Returns:
- The maintenance schedule type for the Autonomous Database.
- See Also:
-
autonomousMaintenanceScheduleTypeAsString
The maintenance schedule type for the Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
autonomousMaintenanceScheduleTypewill returnAutonomousMaintenanceScheduleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautonomousMaintenanceScheduleTypeAsString().- Returns:
- The maintenance schedule type for the Autonomous Database.
- See Also:
-
hasCustomerContactsToSendToOCI
public final boolean hasCustomerContactsToSendToOCI()For responses, this returns true if the service returned a value for the CustomerContactsToSendToOCI property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
customerContactsToSendToOCI
The list of customer contacts to receive operational notifications from OCI for the Autonomous Database.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCustomerContactsToSendToOCI()method.- Returns:
- The list of customer contacts to receive operational notifications from OCI for the Autonomous Database.
-
hasScheduledOperations
public final boolean hasScheduledOperations()For responses, this returns true if the service returned a value for the ScheduledOperations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
scheduledOperations
The list of scheduled start and stop times for the Autonomous Database.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasScheduledOperations()method.- Returns:
- The list of scheduled start and stop times for the Autonomous Database.
-
longTermBackupSchedule
The long-term backup schedule for the Autonomous Database.
- Returns:
- The long-term backup schedule for the Autonomous Database.
-
openMode
The mode in which to open the Autonomous Database, either read-only or read/write.
If the service returns an enum value that is not available in the current SDK version,
openModewill returnOpenMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromopenModeAsString().- Returns:
- The mode in which to open the Autonomous Database, either read-only or read/write.
- See Also:
-
openModeAsString
The mode in which to open the Autonomous Database, either read-only or read/write.
If the service returns an enum value that is not available in the current SDK version,
openModewill returnOpenMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromopenModeAsString().- Returns:
- The mode in which to open the Autonomous Database, either read-only or read/write.
- See Also:
-
permissionLevel
The permission level of the Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
permissionLevelwill returnPermissionLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionLevelAsString().- Returns:
- The permission level of the Autonomous Database.
- See Also:
-
permissionLevelAsString
The permission level of the Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
permissionLevelwill returnPermissionLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionLevelAsString().- Returns:
- The permission level of the Autonomous Database.
- See Also:
-
refreshableMode
The refresh mode of the refreshable clone Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
refreshableModewill returnRefreshableMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrefreshableModeAsString().- Returns:
- The refresh mode of the refreshable clone Autonomous Database.
- See Also:
-
refreshableModeAsString
The refresh mode of the refreshable clone Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
refreshableModewill returnRefreshableMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrefreshableModeAsString().- Returns:
- The refresh mode of the refreshable clone Autonomous Database.
- See Also:
-
privateEndpointIp
The private endpoint IP address for the Autonomous Database.
- Returns:
- The private endpoint IP address for the Autonomous Database.
-
privateEndpointLabel
The private endpoint label for the Autonomous Database.
- Returns:
- The private endpoint label for the Autonomous Database.
-
peerDbId
The unique identifier of the peer Autonomous Database.
- Returns:
- The unique identifier of the peer Autonomous Database.
-
resourcePoolLeaderId
The unique identifier of the resource pool leader Autonomous Database.
- Returns:
- The unique identifier of the resource pool leader Autonomous Database.
-
resourcePoolSummary
The configuration of the resource pool for the Autonomous Database.
- Returns:
- The configuration of the resource pool for the Autonomous Database.
-
standbyAllowlistedIpsSource
The source of the allowlisted IP addresses for the standby Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
standbyAllowlistedIpsSourcewill returnStandbyAllowlistedIpsSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstandbyAllowlistedIpsSourceAsString().- Returns:
- The source of the allowlisted IP addresses for the standby Autonomous Database.
- See Also:
-
standbyAllowlistedIpsSourceAsString
The source of the allowlisted IP addresses for the standby Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
standbyAllowlistedIpsSourcewill returnStandbyAllowlistedIpsSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstandbyAllowlistedIpsSourceAsString().- Returns:
- The source of the allowlisted IP addresses for the standby Autonomous Database.
- See Also:
-
hasStandbyAllowlistedIps
public final boolean hasStandbyAllowlistedIps()For responses, this returns true if the service returned a value for the StandbyAllowlistedIps property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
standbyAllowlistedIps
The list of IP addresses that are allowed to access the standby Autonomous Database.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasStandbyAllowlistedIps()method.- Returns:
- The list of IP addresses that are allowed to access the standby Autonomous Database.
-
hasAllowlistedIps
public final boolean hasAllowlistedIps()For responses, this returns true if the service returned a value for the AllowlistedIps property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
allowlistedIps
The list of IP addresses that are allowed to access the Autonomous Database.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAllowlistedIps()method.- Returns:
- The list of IP addresses that are allowed to access the Autonomous Database.
-
autoRefreshFrequencyInSeconds
The frequency, in seconds, at which the refreshable clone Autonomous Database is automatically refreshed.
- Returns:
- The frequency, in seconds, at which the refreshable clone Autonomous Database is automatically refreshed.
-
autoRefreshPointLagInSeconds
The time lag, in seconds, between the refreshable clone and its source Autonomous Database.
- Returns:
- The time lag, in seconds, between the refreshable clone and its source Autonomous Database.
-
timeOfAutoRefreshStart
The date and time at which the automatic refresh of the refreshable clone Autonomous Database starts.
- Returns:
- The date and time at which the automatic refresh of the refreshable clone Autonomous Database starts.
-
encryptionKeyProvider
The provider of the encryption key to use for the Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
encryptionKeyProviderwill returnEncryptionKeyProviderInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionKeyProviderAsString().- Returns:
- The provider of the encryption key to use for the Autonomous Database.
- See Also:
-
encryptionKeyProviderAsString
The provider of the encryption key to use for the Autonomous Database.
If the service returns an enum value that is not available in the current SDK version,
encryptionKeyProviderwill returnEncryptionKeyProviderInput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionKeyProviderAsString().- Returns:
- The provider of the encryption key to use for the Autonomous Database.
- See Also:
-
encryptionKeyConfiguration
The configuration of the encryption key to use for the Autonomous Database.
- Returns:
- The configuration of the encryption key to use for the Autonomous Database.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAutonomousDatabaseRequest.Builder,UpdateAutonomousDatabaseRequest> - Specified by:
toBuilderin classOdbRequest- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-