Package cern.nxcals.api.domain
Class Resource.Builder
- java.lang.Object
-
- cern.nxcals.api.domain.Resource.Builder
-
- Enclosing class:
- Resource
public static final class Resource.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource
build()
Resource.Builder
clearHbaseTableNames()
Resource.Builder
clearHdfsPaths()
Resource.Builder
hbaseNamespace(@NonNull java.lang.String hbaseNamespace)
Resource.Builder
hbaseTableAccessible(boolean hbaseTableAccessible)
Resource.Builder
hbaseTableName(java.lang.String hbaseTableName)
Resource.Builder
hbaseTableNames(java.util.Collection<? extends java.lang.String> hbaseTableNames)
Resource.Builder
hdfsPath(java.net.URI hdfsPath)
Resource.Builder
hdfsPaths(java.util.Collection<? extends java.net.URI> hdfsPaths)
java.lang.String
toString()
-
-
-
Method Detail
-
hbaseNamespace
public Resource.Builder hbaseNamespace(@NonNull @NonNull java.lang.String hbaseNamespace)
- Returns:
this
.
-
hdfsPath
public Resource.Builder hdfsPath(java.net.URI hdfsPath)
-
hdfsPaths
public Resource.Builder hdfsPaths(java.util.Collection<? extends java.net.URI> hdfsPaths)
-
clearHdfsPaths
public Resource.Builder clearHdfsPaths()
-
hbaseTableName
public Resource.Builder hbaseTableName(java.lang.String hbaseTableName)
-
hbaseTableNames
public Resource.Builder hbaseTableNames(java.util.Collection<? extends java.lang.String> hbaseTableNames)
-
clearHbaseTableNames
public Resource.Builder clearHbaseTableNames()
-
hbaseTableAccessible
public Resource.Builder hbaseTableAccessible(boolean hbaseTableAccessible)
- Returns:
this
.
-
build
public Resource build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-