com.cloudera.api.model
Class ApiHdfsSnapshotPolicyArguments

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

public class ApiHdfsSnapshotPolicyArguments
extends Object

HDFS specific snapshot policy arguments.


Constructor Summary
ApiHdfsSnapshotPolicyArguments()
           
ApiHdfsSnapshotPolicyArguments(List<String> pathPatterns)
           
 
Method Summary
 boolean equals(Object o)
           
 List<String> getPathPatterns()
          The path patterns specifying the paths.
 int hashCode()
           
 void setPathPatterns(List<String> pathPatterns)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHdfsSnapshotPolicyArguments

public ApiHdfsSnapshotPolicyArguments()

ApiHdfsSnapshotPolicyArguments

public ApiHdfsSnapshotPolicyArguments(List<String> pathPatterns)
Parameters:
pathPatterns - The path patterns specifying the paths. Paths matching any of them will be eligible for snapshot creation.
Method Detail

getPathPatterns

public List<String> getPathPatterns()
The path patterns specifying the paths. Paths matching any of them will be eligible for snapshot creation.

The pattern matching characters that can be specific are those supported by HDFS. please see the documentation for HDFS globs for more details.


setPathPatterns

public void setPathPatterns(List<String> pathPatterns)

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.