Package com.oracle.cloud.spring.adb
Record Class AutonomousDbDetails
java.lang.Object
java.lang.Record
com.oracle.cloud.spring.adb.AutonomousDbDetails
-
Constructor Summary
ConstructorsConstructorDescriptionAutonomousDbDetails
(String compartmentId, String displayName, String id, String dbName, String lifecycleState, String timeCreated, Float computeCount, Integer dataStorageSizeInGBs, String licenseModel, String serviceConsoleUrl) Creates an instance of aAutonomousDbDetails
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompartmentId
record component.Returns the value of thecomputeCount
record component.Returns the value of thedataStorageSizeInGBs
record component.dbName()
Returns the value of thedbName
record component.Returns the value of thedisplayName
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.Returns the value of thelicenseModel
record component.Returns the value of thelifecycleState
record component.Returns the value of theserviceConsoleUrl
record component.Returns the value of thetimeCreated
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
AutonomousDbDetails
public AutonomousDbDetails(String compartmentId, String displayName, String id, String dbName, String lifecycleState, String timeCreated, Float computeCount, Integer dataStorageSizeInGBs, String licenseModel, String serviceConsoleUrl) Creates an instance of aAutonomousDbDetails
record class.- Parameters:
compartmentId
- the value for thecompartmentId
record componentdisplayName
- the value for thedisplayName
record componentid
- the value for theid
record componentdbName
- the value for thedbName
record componentlifecycleState
- the value for thelifecycleState
record componenttimeCreated
- the value for thetimeCreated
record componentcomputeCount
- the value for thecomputeCount
record componentdataStorageSizeInGBs
- the value for thedataStorageSizeInGBs
record componentlicenseModel
- the value for thelicenseModel
record componentserviceConsoleUrl
- the value for theserviceConsoleUrl
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
compartmentId
Returns the value of thecompartmentId
record component.- Returns:
- the value of the
compartmentId
record component
-
displayName
Returns the value of thedisplayName
record component.- Returns:
- the value of the
displayName
record component
-
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
dbName
Returns the value of thedbName
record component.- Returns:
- the value of the
dbName
record component
-
lifecycleState
Returns the value of thelifecycleState
record component.- Returns:
- the value of the
lifecycleState
record component
-
timeCreated
Returns the value of thetimeCreated
record component.- Returns:
- the value of the
timeCreated
record component
-
computeCount
Returns the value of thecomputeCount
record component.- Returns:
- the value of the
computeCount
record component
-
dataStorageSizeInGBs
Returns the value of thedataStorageSizeInGBs
record component.- Returns:
- the value of the
dataStorageSizeInGBs
record component
-
licenseModel
Returns the value of thelicenseModel
record component.- Returns:
- the value of the
licenseModel
record component
-
serviceConsoleUrl
Returns the value of theserviceConsoleUrl
record component.- Returns:
- the value of the
serviceConsoleUrl
record component
-