Package com.oracle.bmc.dif.model
Class AdbDetail
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dif.model.AdbDetail
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20250830") public final class AdbDetail extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails to create an Oracle Autonomous Database.
Note: Objects should always be created or deserialized using theAdbDetail.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 theAdbDetail.Builder, which maintain a set of all explicitly set fields calledAdbDetail.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdbDetail.Builder
-
Constructor Summary
Constructors Constructor Description AdbDetail(String instanceId, DbWorkload dbWorkload, Integer ecpu, Integer dataStorageSizeInTBs, String adminPasswordId, Boolean isMtlsConnectionRequired, String subnetId, String dbVersion, String toolsPublicAccess, Boolean isPublic)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdbDetail.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAdminPasswordId()The OCI vault secret [/Content/General/Concepts/identifiers.htm]OCID for admin password.IntegergetDataStorageSizeInTBs()The size, in terabytes, of the data volume that will be created and attached to the database.StringgetDbVersion()A valid Oracle Database version for Autonomous Database.DbWorkloadgetDbWorkload()DB Workload to be used with ADB.IntegergetEcpu()The compute amount (ECPUs) available to the database.StringgetInstanceId()Id for the adw instance.BooleangetIsMtlsConnectionRequired()Specifies if the Autonomous Database requires mTLS connections.BooleangetIsPublic()If true then subnetId should not be provided.StringgetSubnetId()The OCID of the subnet the Autonomous Database is associated with.StringgetToolsPublicAccess()This is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID).inthashCode()AdbDetail.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
AdbDetail
@Deprecated @ConstructorProperties({"instanceId","dbWorkload","ecpu","dataStorageSizeInTBs","adminPasswordId","isMtlsConnectionRequired","subnetId","dbVersion","toolsPublicAccess","isPublic"}) public AdbDetail(String instanceId, DbWorkload dbWorkload, Integer ecpu, Integer dataStorageSizeInTBs, String adminPasswordId, Boolean isMtlsConnectionRequired, String subnetId, String dbVersion, String toolsPublicAccess, Boolean isPublic)
Deprecated.
-
-
Method Detail
-
builder
public static AdbDetail.Builder builder()
Create a new builder.
-
toBuilder
public AdbDetail.Builder toBuilder()
-
getInstanceId
public String getInstanceId()
Id for the adw instance.- Returns:
- the value
-
getDbWorkload
public DbWorkload getDbWorkload()
DB Workload to be used with ADB.Accepted values are OLTP, DW.
- Returns:
- the value
-
getEcpu
public Integer getEcpu()
The compute amount (ECPUs) available to the database.- Returns:
- the value
-
getDataStorageSizeInTBs
public Integer getDataStorageSizeInTBs()
The size, in terabytes, of the data volume that will be created and attached to the database.- Returns:
- the value
-
getAdminPasswordId
public String getAdminPasswordId()
The OCI vault secret [/Content/General/Concepts/identifiers.htm]OCID for admin password.- Returns:
- the value
-
getIsMtlsConnectionRequired
public Boolean getIsMtlsConnectionRequired()
Specifies if the Autonomous Database requires mTLS connections.- Returns:
- the value
-
getSubnetId
public String getSubnetId()
The OCID of the subnet the Autonomous Database is associated with.- Returns:
- the value
-
getDbVersion
public String getDbVersion()
A valid Oracle Database version for Autonomous Database.- Returns:
- the value
-
getToolsPublicAccess
public String getToolsPublicAccess()
This is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID).Allowed only when subnetId is provided (private ADB).
- Returns:
- the value
-
getIsPublic
public Boolean getIsPublic()
If true then subnetId should not be provided.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-