java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.TemporaryVolumeCredential

public class TemporaryVolumeCredential extends Object
Description of credentials for accessing a volume.
  • Constructor Details

    • TemporaryVolumeCredential

      public TemporaryVolumeCredential()
      Constructor
  • Method Details

    • getVolume_id

      public String getVolume_id()
      Return the unique identifier of the volume.
      Returns:
      string
    • setVolume_id

      public void setVolume_id(String volume_id)
      Set up the unique identifier of the volume.
      Parameters:
      volume_id - string
    • getOperation

      public VolumeOperation getOperation()
      Return the operation permitted by the credential.
      Returns:
      text
    • setOperation

      public void setOperation(VolumeOperation operation)
      Set up the operation permitted by the credential.
      Parameters:
      operation - text
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int