org.jclouds.elasticstack.domain
Class Drive.Builder
java.lang.Object
org.jclouds.elasticstack.domain.Item.Builder
org.jclouds.elasticstack.domain.Drive.Builder
- Direct Known Subclasses:
- CreateDriveRequest.Builder, DriveData.Builder, DriveInfo.Builder
- Enclosing class:
- Drive
public static class Drive.Builder
- extends Item.Builder
size
protected long size
claimType
protected ClaimType claimType
readers
protected Set<String> readers
Drive.Builder
public Drive.Builder()
claimType
public Drive.Builder claimType(ClaimType claimType)
readers
public Drive.Builder readers(Iterable<String> readers)
size
public Drive.Builder size(long size)
uuid
public Drive.Builder uuid(String uuid)
-
- Overrides:
uuid
in class Item.Builder
name
public Drive.Builder name(String name)
-
- Overrides:
name
in class Item.Builder
tags
public Drive.Builder tags(Iterable<String> tags)
-
- Overrides:
tags
in class Item.Builder
userMetadata
public Drive.Builder userMetadata(Map<String,String> userMetadata)
-
- Overrides:
userMetadata
in class Item.Builder
build
public Drive build()
- Overrides:
build
in class Item.Builder
hashCode
public int hashCode()
- Overrides:
hashCode
in class Item.Builder
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Item.Builder
Copyright © 2009-2011 jclouds. All Rights Reserved.