Class Snapshot

java.lang.Object
com.cloudera.cdp.opdb.model.Snapshot

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2025-01-23T07:12:41.282-08:00") public class Snapshot extends Object
An instance of a table's snapshot.
  • Constructor Details

    • Snapshot

      public Snapshot()
  • Method Details

    • getTableName

      public String getTableName()
      Getter for tableName. The table name.
    • setTableName

      public void setTableName(String tableName)
      Setter for tableName. The table name.
    • getSnapshotName

      public String getSnapshotName()
      Getter for snapshotName. The name of the snapshot.
    • setSnapshotName

      public void setSnapshotName(String snapshotName)
      Setter for snapshotName. The name of the snapshot.
    • getCreationTime

      public Long getCreationTime()
      Getter for creationTime. The creation time of the snapshot.
    • setCreationTime

      public void setCreationTime(Long creationTime)
      Setter for creationTime. The creation time of the snapshot.
    • getStatus

      public String getStatus()
      Getter for status. The status of the snapshot.
    • setStatus

      public void setStatus(String status)
      Setter for status. The status of the snapshot.
    • getCommandID

      public Long getCommandID()
      Getter for commandID. The submitted Command ID of the snapshot.
    • setCommandID

      public void setCommandID(Long commandID)
      Setter for commandID. The submitted Command ID of the snapshot.
    • getSnapshotLocation

      public String getSnapshotLocation()
      Getter for snapshotLocation. The location of the snapshot.
    • setSnapshotLocation

      public void setSnapshotLocation(String snapshotLocation)
      Setter for snapshotLocation. The location of the snapshot.
    • getFailureReason

      public String getFailureReason()
      Getter for failureReason. Reason for the failure in case of snapshot creation failed.
    • setFailureReason

      public void setFailureReason(String failureReason)
      Setter for failureReason. Reason for the failure in case of snapshot creation failed.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object