Package org.jclouds.elasticstack.domain
Class DriveInfo.Builder
- java.lang.Object
-
- org.jclouds.elasticstack.domain.Item.Builder
-
- org.jclouds.elasticstack.domain.Drive.Builder
-
- org.jclouds.elasticstack.domain.DriveInfo.Builder
-
- Enclosing class:
- DriveInfo
public static class DriveInfo.Builder extends Drive.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>claimedprotected StringencryptionCipherprotected Stringimagingprotected DriveMetricsmetricsprotected DriveStatusstatusprotected Stringuser-
Fields inherited from class org.jclouds.elasticstack.domain.Drive.Builder
claimType, readers, size
-
Fields inherited from class org.jclouds.elasticstack.domain.Item.Builder
name, tags, userMetadata, uuid
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DriveInfobuild()DriveInfo.Builderclaimed(Iterable<String> claimed)DriveInfo.BuilderclaimType(ClaimType claimType)DriveInfo.BuilderencryptionCipher(String encryptionCipher)static DriveInfo.BuilderfromDriveInfo(DriveInfo driveInfo)DriveInfo.Builderimaging(String imaging)DriveInfo.Buildermetrics(DriveMetrics metrics)DriveInfo.Buildername(String name)DriveInfo.Builderreaders(Iterable<String> readers)DriveInfo.Buildersize(long size)DriveInfo.Builderstatus(DriveStatus status)DriveInfo.Buildertags(Iterable<String> tags)DriveInfo.Builderuser(String user)DriveInfo.BuilderuserMetadata(Map<String,String> userMetadata)DriveInfo.Builderuuid(String uuid)-
Methods inherited from class org.jclouds.elasticstack.domain.Drive.Builder
equals, hashCode
-
-
-
-
Field Detail
-
status
protected DriveStatus status
-
user
protected String user
-
metrics
protected DriveMetrics metrics
-
-
Method Detail
-
status
public DriveInfo.Builder status(DriveStatus status)
-
user
public DriveInfo.Builder user(String user)
-
claimed
public DriveInfo.Builder claimed(Iterable<String> claimed)
-
imaging
public DriveInfo.Builder imaging(String imaging)
-
metrics
public DriveInfo.Builder metrics(DriveMetrics metrics)
-
encryptionCipher
public DriveInfo.Builder encryptionCipher(String encryptionCipher)
-
claimType
public DriveInfo.Builder claimType(ClaimType claimType)
- Overrides:
claimTypein classDrive.Builder
-
readers
public DriveInfo.Builder readers(Iterable<String> readers)
- Overrides:
readersin classDrive.Builder
-
size
public DriveInfo.Builder size(long size)
- Overrides:
sizein classDrive.Builder
-
uuid
public DriveInfo.Builder uuid(String uuid)
- Overrides:
uuidin classDrive.Builder
-
name
public DriveInfo.Builder name(String name)
- Overrides:
namein classDrive.Builder
-
tags
public DriveInfo.Builder tags(Iterable<String> tags)
- Overrides:
tagsin classDrive.Builder
-
userMetadata
public DriveInfo.Builder userMetadata(Map<String,String> userMetadata)
- Overrides:
userMetadatain classDrive.Builder
-
fromDriveInfo
public static DriveInfo.Builder fromDriveInfo(DriveInfo driveInfo)
-
build
public DriveInfo build()
- Overrides:
buildin classDrive.Builder
-
-