com.cloudera.api.model
Class ApiHdfsSnapshotPolicyArguments
java.lang.Object
com.cloudera.api.model.ApiHdfsSnapshotPolicyArguments
public class ApiHdfsSnapshotPolicyArguments
- extends Object
HDFS specific snapshot policy arguments.
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.
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.