com.cloudera.api.model
Class ApiSnapshotCommand
java.lang.Object
com.cloudera.api.model.ApiCommand
com.cloudera.api.model.ApiSnapshotCommand
public class ApiSnapshotCommand
- extends ApiCommand
Information about snapshot commands.
This object holds all the information a regular ApiCommand object provides,
and adds specific information about the results of a snapshot command.
Depending on the type of the service where the snapshot command was run, a
different result property will be populated.
Methods inherited from class com.cloudera.api.model.ApiCommand |
getCanRetry, getChildren, getClusterRef, getEndTime, getHostRef, getId, getName, getParent, getResultDataUrl, getResultMessage, getRoleRef, getServiceRef, getStartTime, getSuccess, isActive, isCanRetry, setActive, setCanRetry, setChildren, setClusterRef, setEndTime, setHostRef, setId, setName, setParent, setResultDataUrl, setResultMessage, setRoleRef, setServiceRef, setStartTime, setSuccess, toStringHelper |
ApiSnapshotCommand
public ApiSnapshotCommand()
getHBaseResult
public ApiHBaseSnapshotResult getHBaseResult()
- Results for snapshot commands on HBase services.
setHBaseResult
public void setHBaseResult(ApiHBaseSnapshotResult hbaseResult)
getHdfsResult
public ApiHdfsSnapshotResult getHdfsResult()
- Results for snapshot commands on Hdfs services.
setHdfsResult
public void setHdfsResult(ApiHdfsSnapshotResult hdfsResult)
equals
public boolean equals(Object o)
- Overrides:
equals
in class ApiCommand
hashCode
public int hashCode()
- Overrides:
hashCode
in class ApiCommand
toString
public String toString()
- Overrides:
toString
in class ApiCommand
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.