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 aAutonomousDbDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompartmentIdrecord component.Returns the value of thecomputeCountrecord component.Returns the value of thedataStorageSizeInGBsrecord component.dbName()Returns the value of thedbNamerecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of thelicenseModelrecord component.Returns the value of thelifecycleStaterecord component.Returns the value of theserviceConsoleUrlrecord component.Returns the value of thetimeCreatedrecord component.final StringtoString()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 aAutonomousDbDetailsrecord class.- Parameters:
compartmentId- the value for thecompartmentIdrecord componentdisplayName- the value for thedisplayNamerecord componentid- the value for theidrecord componentdbName- the value for thedbNamerecord componentlifecycleState- the value for thelifecycleStaterecord componenttimeCreated- the value for thetimeCreatedrecord componentcomputeCount- the value for thecomputeCountrecord componentdataStorageSizeInGBs- the value for thedataStorageSizeInGBsrecord componentlicenseModel- the value for thelicenseModelrecord componentserviceConsoleUrl- the value for theserviceConsoleUrlrecord 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 thecompartmentIdrecord component.- Returns:
- the value of the
compartmentIdrecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
dbName
Returns the value of thedbNamerecord component.- Returns:
- the value of the
dbNamerecord component
-
lifecycleState
Returns the value of thelifecycleStaterecord component.- Returns:
- the value of the
lifecycleStaterecord component
-
timeCreated
Returns the value of thetimeCreatedrecord component.- Returns:
- the value of the
timeCreatedrecord component
-
computeCount
Returns the value of thecomputeCountrecord component.- Returns:
- the value of the
computeCountrecord component
-
dataStorageSizeInGBs
Returns the value of thedataStorageSizeInGBsrecord component.- Returns:
- the value of the
dataStorageSizeInGBsrecord component
-
licenseModel
Returns the value of thelicenseModelrecord component.- Returns:
- the value of the
licenseModelrecord component
-
serviceConsoleUrl
Returns the value of theserviceConsoleUrlrecord component.- Returns:
- the value of the
serviceConsoleUrlrecord component
-