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>
claimed
protected String
encryptionCipher
protected String
imaging
protected DriveMetrics
metrics
protected DriveStatus
status
protected String
user
-
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 DriveInfo
build()
DriveInfo.Builder
claimed(Iterable<String> claimed)
DriveInfo.Builder
claimType(ClaimType claimType)
DriveInfo.Builder
encryptionCipher(String encryptionCipher)
static DriveInfo.Builder
fromDriveInfo(DriveInfo driveInfo)
DriveInfo.Builder
imaging(String imaging)
DriveInfo.Builder
metrics(DriveMetrics metrics)
DriveInfo.Builder
name(String name)
DriveInfo.Builder
readers(Iterable<String> readers)
DriveInfo.Builder
size(long size)
DriveInfo.Builder
status(DriveStatus status)
DriveInfo.Builder
tags(Iterable<String> tags)
DriveInfo.Builder
user(String user)
DriveInfo.Builder
userMetadata(Map<String,String> userMetadata)
DriveInfo.Builder
uuid(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:
claimType
in classDrive.Builder
-
readers
public DriveInfo.Builder readers(Iterable<String> readers)
- Overrides:
readers
in classDrive.Builder
-
size
public DriveInfo.Builder size(long size)
- Overrides:
size
in classDrive.Builder
-
uuid
public DriveInfo.Builder uuid(String uuid)
- Overrides:
uuid
in classDrive.Builder
-
name
public DriveInfo.Builder name(String name)
- Overrides:
name
in classDrive.Builder
-
tags
public DriveInfo.Builder tags(Iterable<String> tags)
- Overrides:
tags
in classDrive.Builder
-
userMetadata
public DriveInfo.Builder userMetadata(Map<String,String> userMetadata)
- Overrides:
userMetadata
in classDrive.Builder
-
fromDriveInfo
public static DriveInfo.Builder fromDriveInfo(DriveInfo driveInfo)
-
build
public DriveInfo build()
- Overrides:
build
in classDrive.Builder
-
-