public static class DriveInfo.Builder extends Drive.Builder
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
claimed |
protected String |
encryptionCipher |
protected String |
imaging |
protected DriveMetrics |
metrics |
protected DriveStatus |
status |
protected String |
user |
claimType, readers, size
name, tags, userMetadata, uuid
Constructor and Description |
---|
DriveInfo.Builder() |
Modifier and Type | Method and 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) |
equals, hashCode
protected DriveStatus status
protected String user
protected DriveMetrics metrics
public DriveInfo.Builder status(DriveStatus status)
public DriveInfo.Builder user(String user)
public DriveInfo.Builder claimed(Iterable<String> claimed)
public DriveInfo.Builder imaging(String imaging)
public DriveInfo.Builder metrics(DriveMetrics metrics)
public DriveInfo.Builder encryptionCipher(String encryptionCipher)
public DriveInfo.Builder claimType(ClaimType claimType)
claimType
in class Drive.Builder
public DriveInfo.Builder readers(Iterable<String> readers)
readers
in class Drive.Builder
public DriveInfo.Builder size(long size)
size
in class Drive.Builder
public DriveInfo.Builder uuid(String uuid)
uuid
in class Drive.Builder
public DriveInfo.Builder name(String name)
name
in class Drive.Builder
public DriveInfo.Builder tags(Iterable<String> tags)
tags
in class Drive.Builder
public DriveInfo.Builder userMetadata(Map<String,String> userMetadata)
userMetadata
in class Drive.Builder
public static DriveInfo.Builder fromDriveInfo(DriveInfo driveInfo)
public DriveInfo build()
build
in class Drive.Builder
Copyright © 2009-2013 jclouds. All Rights Reserved.