Record Class AutonomousDbDetails

java.lang.Object
java.lang.Record
com.oracle.cloud.spring.adb.AutonomousDbDetails

public record AutonomousDbDetails(String compartmentId, String displayName, String id, String dbName, String lifecycleState, String timeCreated, Float computeCount, Integer dataStorageSizeInGBs, String licenseModel, String serviceConsoleUrl) extends Record
  • 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 a AutonomousDbDetails record class.
      Parameters:
      compartmentId - the value for the compartmentId record component
      displayName - the value for the displayName record component
      id - the value for the id record component
      dbName - the value for the dbName record component
      lifecycleState - the value for the lifecycleState record component
      timeCreated - the value for the timeCreated record component
      computeCount - the value for the computeCount record component
      dataStorageSizeInGBs - the value for the dataStorageSizeInGBs record component
      licenseModel - the value for the licenseModel record component
      serviceConsoleUrl - the value for the serviceConsoleUrl record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • compartmentId

      public String compartmentId()
      Returns the value of the compartmentId record component.
      Returns:
      the value of the compartmentId record component
    • displayName

      public String displayName()
      Returns the value of the displayName record component.
      Returns:
      the value of the displayName record component
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • dbName

      public String dbName()
      Returns the value of the dbName record component.
      Returns:
      the value of the dbName record component
    • lifecycleState

      public String lifecycleState()
      Returns the value of the lifecycleState record component.
      Returns:
      the value of the lifecycleState record component
    • timeCreated

      public String timeCreated()
      Returns the value of the timeCreated record component.
      Returns:
      the value of the timeCreated record component
    • computeCount

      public Float computeCount()
      Returns the value of the computeCount record component.
      Returns:
      the value of the computeCount record component
    • dataStorageSizeInGBs

      public Integer dataStorageSizeInGBs()
      Returns the value of the dataStorageSizeInGBs record component.
      Returns:
      the value of the dataStorageSizeInGBs record component
    • licenseModel

      public String licenseModel()
      Returns the value of the licenseModel record component.
      Returns:
      the value of the licenseModel record component
    • serviceConsoleUrl

      public String serviceConsoleUrl()
      Returns the value of the serviceConsoleUrl record component.
      Returns:
      the value of the serviceConsoleUrl record component