Class CreateAutonomousDatabaseRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateAutonomousDatabaseRequest.Builder,CreateAutonomousDatabaseRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe password for theADMINuser of the Autonomous Database.The list of IP addresses that are allowed to access the Autonomous Database.The maintenance schedule type for the Autonomous Database.final StringThe maintenance schedule type for the 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 StringThe character set to use for the Autonomous Database.final StringA client-provided token to ensure the idempotency of the request.final DoubleThe compute capacity, in number of Elastic CPUs (ECPUs) or Oracle CPUs (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 Oracle Cloud Infrastructure (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 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 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 booleanhasTags()For responses, this returns true if the service returned a value for the Tags 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 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 LicenseModelThe Oracle license model to apply to the Autonomous Database.final StringThe Oracle license model to apply to the Autonomous Database.final StringThe national character set to use for the Autonomous Database.final StringThe unique identifier of the ODB network to be used for the Autonomous Database.final StringThe private endpoint IP address for the Autonomous Database.final StringThe private endpoint label for the 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 CreateAutonomousDatabaseRequest.Builder> final SourceTypesource()The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.final StringThe source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.final SourceConfigurationThe configuration details for the source used to create the Autonomous Database.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.tags()The list of resource tags to apply to the Autonomous Database.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.final TransportableTablespaceThe transportable tablespace configuration to use when creating the Autonomous Database.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
odbNetworkId
The unique identifier of the ODB network to be used for the Autonomous Database.
- Returns:
- The unique identifier of the ODB network to be used for the Autonomous Database.
-
displayName
The user-friendly name for the Autonomous Database. The name does not have to be unique.
- Returns:
- The user-friendly name for the Autonomous Database. The name does not have to be unique.
-
dbName
The name of the Autonomous Database. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The name must be unique in the Amazon Web Services account.
- Returns:
- The name of the Autonomous Database. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The name must be unique in the Amazon Web Services account.
-
adminPassword
The password for the
ADMINuser of the Autonomous Database.- Returns:
- The password for the
ADMINuser of the Autonomous Database.
-
computeCount
The compute capacity, in number of Elastic CPUs (ECPUs) or Oracle CPUs (OCPUs), to assign to the Autonomous Database.
- Returns:
- The compute capacity, in number of Elastic CPUs (ECPUs) or Oracle CPUs (OCPUs), to assign 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.
-
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:
-
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.
-
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:
-
characterSet
The character set to use for the Autonomous Database.
- Returns:
- The character set to use for the Autonomous Database.
-
ncharacterSet
The national character set to use for the Autonomous Database.
- Returns:
- The national character set to use for 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.
-
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:
-
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:
-
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:
-
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.
-
cpuCoreCount
The number of CPU cores to allocate to the Autonomous Database.
- Returns:
- The number of CPU cores to allocate to the Autonomous Database.
-
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 Oracle Cloud Infrastructure (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 Oracle Cloud Infrastructure (OCI) for the Autonomous Database.
-
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.
-
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.
-
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.
-
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.
-
transportableTablespace
The transportable tablespace configuration to use when creating the Autonomous Database.
- Returns:
- The transportable tablespace configuration to use when creating 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.
-
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.
-
source
The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.
If the service returns an enum value that is not available in the current SDK version,
sourcewill returnSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceAsString().- Returns:
- The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.
- See Also:
-
sourceAsString
The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.
If the service returns an enum value that is not available in the current SDK version,
sourcewill returnSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceAsString().- Returns:
- The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.
- See Also:
-
sourceConfiguration
The configuration details for the source used to create the Autonomous Database.
- Returns:
- The configuration details for the source used to create the Autonomous Database.
-
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.
-
clientToken
A client-provided token to ensure the idempotency of the request.
- Returns:
- A client-provided token to ensure the idempotency of the request.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags 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. -
tags
The list of resource tags to apply to the Autonomous Database. Each tag is a key-value pair with no predefined name, type, or namespace.
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
hasTags()method.- Returns:
- The list of resource tags to apply to the Autonomous Database. Each tag is a key-value pair with no predefined name, type, or namespace.
-
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<CreateAutonomousDatabaseRequest.Builder,CreateAutonomousDatabaseRequest> - 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.
-