com.cloudera.api.model
Class ApiHdfsSnapshotError

java.lang.Object
  extended by com.cloudera.api.model.ApiHdfsSnapshotError

public class ApiHdfsSnapshotError
extends Object

An HDFS snapshot operation error.


Constructor Summary
ApiHdfsSnapshotError()
           
ApiHdfsSnapshotError(String path, String snapshotName, String error)
           
 
Method Summary
 boolean equals(Object o)
           
 String getError()
          Description of the error.
 String getPath()
          Path for which the snapshot error occurred.
 String getSnapshotName()
          Name of snapshot for which error occurred.
 int hashCode()
           
 void setError(String error)
           
 void setPath(String path)
           
 void setSnapshotName(String snapshotName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHdfsSnapshotError

public ApiHdfsSnapshotError()

ApiHdfsSnapshotError

public ApiHdfsSnapshotError(String path,
                            String snapshotName,
                            String error)
Method Detail

getPath

public String getPath()
Path for which the snapshot error occurred.


setPath

public void setPath(String path)

getSnapshotName

public String getSnapshotName()
Name of snapshot for which error occurred.


setSnapshotName

public void setSnapshotName(String snapshotName)

getError

public String getError()
Description of the error.


setError

public void setError(String error)

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.