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
status
protected DriveStatus status
user
protected String user
claimed
protected Set<String> claimed
encryptionCipher
@Nullable
protected String encryptionCipher
imaging
@Nullable
protected String imaging
metrics
protected DriveMetrics metrics
DriveInfo.Builder
public DriveInfo.Builder()
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 class Drive.Builder
readers
public DriveInfo.Builder readers(Iterable<String> readers)
-
- Overrides:
readers
in class Drive.Builder
size
public DriveInfo.Builder size(long size)
-
- Overrides:
size
in class Drive.Builder
uuid
public DriveInfo.Builder uuid(String uuid)
-
- Overrides:
uuid
in class Drive.Builder
name
public DriveInfo.Builder name(String name)
-
- Overrides:
name
in class Drive.Builder
tags
public DriveInfo.Builder tags(Iterable<String> tags)
-
- Overrides:
tags
in class Drive.Builder
userMetadata
public DriveInfo.Builder userMetadata(Map<String,String> userMetadata)
-
- Overrides:
userMetadata
in class Drive.Builder
fromDriveInfo
public static DriveInfo.Builder fromDriveInfo(DriveInfo driveInfo)
build
public DriveInfo build()
-
- Overrides:
build
in class Drive.Builder
Copyright © 2009-2011 jclouds. All Rights Reserved.