public static class Drive.Builder extends Item.Builder
Modifier and Type | Field and Description |
---|---|
protected ClaimType |
claimType |
protected Set<String> |
readers |
protected long |
size |
name, tags, userMetadata, uuid
Constructor and Description |
---|
Drive.Builder() |
Modifier and Type | Method and Description |
---|---|
Drive |
build() |
Drive.Builder |
claimType(ClaimType claimType) |
boolean |
equals(Object obj) |
int |
hashCode() |
Drive.Builder |
name(String name) |
Drive.Builder |
readers(Iterable<String> readers) |
Drive.Builder |
size(long size) |
Drive.Builder |
tags(Iterable<String> tags) |
Drive.Builder |
userMetadata(Map<String,String> userMetadata) |
Drive.Builder |
uuid(String uuid) |
protected long size
protected ClaimType claimType
public Drive.Builder claimType(ClaimType claimType)
public Drive.Builder readers(Iterable<String> readers)
public Drive.Builder size(long size)
public Drive.Builder uuid(String uuid)
uuid
in class Item.Builder
public Drive.Builder name(String name)
name
in class Item.Builder
public Drive.Builder tags(Iterable<String> tags)
tags
in class Item.Builder
public Drive.Builder userMetadata(Map<String,String> userMetadata)
userMetadata
in class Item.Builder
public Drive build()
build
in class Item.Builder
public int hashCode()
hashCode
in class Item.Builder
public boolean equals(Object obj)
equals
in class Item.Builder
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.