com.cloudera.api.model
Class ApiHBaseSnapshotError

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

public class ApiHBaseSnapshotError
extends Object

A HBase snapshot operation error.


Constructor Summary
ApiHBaseSnapshotError()
           
ApiHBaseSnapshotError(String tableName, String snapshotName, ApiHBaseSnapshot.Storage storage, String error)
           
ApiHBaseSnapshotError(String tableName, String snapshotName, String error)
           
 
Method Summary
 boolean equals(Object o)
           
 String getError()
          Description of the error.
 String getSnapshotName()
          Name of the snapshot.
 ApiHBaseSnapshot.Storage getStorage()
          The location of the snapshot.
 String getTableName()
          Name of the table.
 int hashCode()
           
 void setError(String error)
           
 void setSnapshotName(String snapshotName)
           
 void setStorage(ApiHBaseSnapshot.Storage storage)
           
 void setTableName(String tableName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHBaseSnapshotError

public ApiHBaseSnapshotError()

ApiHBaseSnapshotError

public ApiHBaseSnapshotError(String tableName,
                             String snapshotName,
                             String error)

ApiHBaseSnapshotError

public ApiHBaseSnapshotError(String tableName,
                             String snapshotName,
                             ApiHBaseSnapshot.Storage storage,
                             String error)
Method Detail

getTableName

public String getTableName()
Name of the table.


setTableName

public void setTableName(String tableName)

getSnapshotName

public String getSnapshotName()
Name of the snapshot.


setSnapshotName

public void setSnapshotName(String snapshotName)

getStorage

public ApiHBaseSnapshot.Storage getStorage()
The location of the snapshot.


setStorage

public void setStorage(ApiHBaseSnapshot.Storage storage)

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.