public static class CacheDirectiveInfo.Builder extends Object
| Constructor and Description | 
|---|
| Builder()Creates an empty builder. | 
| Builder(CacheDirectiveInfo directive)Creates a builder with all elements set to the same values as the
 given CacheDirectiveInfo. | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheDirectiveInfo | build()Builds a new CacheDirectiveInfo populated with the set properties. | 
| CacheDirectiveInfo.Builder | setExpiration(CacheDirectiveInfo.Expiration expiration)Sets when the CacheDirective should expire. | 
| CacheDirectiveInfo.Builder | setId(Long id)Sets the id used in this request. | 
| CacheDirectiveInfo.Builder | setPath(org.apache.hadoop.fs.Path path)Sets the path used in this request. | 
| CacheDirectiveInfo.Builder | setPool(String pool)Sets the pool used in this request. | 
| CacheDirectiveInfo.Builder | setReplication(Short replication)Sets the replication used in this request. | 
public Builder()
public Builder(CacheDirectiveInfo directive)
public CacheDirectiveInfo build()
public CacheDirectiveInfo.Builder setId(Long id)
id - The id used in this request.public CacheDirectiveInfo.Builder setPath(org.apache.hadoop.fs.Path path)
path - The path used in this request.public CacheDirectiveInfo.Builder setReplication(Short replication)
replication - The replication used in this request.public CacheDirectiveInfo.Builder setPool(String pool)
pool - The pool used in this request.public CacheDirectiveInfo.Builder setExpiration(CacheDirectiveInfo.Expiration expiration)
CacheDirectiveInfo.Expiration can specify either an absolute or
 relative expiration time.expiration - when this CacheDirective should expireCopyright © 2008–2023 Apache Software Foundation. All rights reserved.