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, tags
name, use, uuid
Constructor and Description |
---|
DriveInfo.Builder() |
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 autoexpanding(Boolean autoexpanding)
public DriveInfo.Builder bits(Integer bits)
public DriveInfo.Builder description(String description)
public DriveInfo.Builder driveType(Iterable<String> driveType)
public DriveInfo.Builder encryptionKey(String encryptionKey)
public DriveInfo.Builder free(Boolean free)
public DriveInfo.Builder installNotes(String installNotes)
public DriveInfo.Builder os(String os)
public DriveInfo.Builder type(DriveType type)
public DriveInfo.Builder url(URI url)
public DriveInfo.Builder claimType(ClaimType claimType)
claimType
in class Drive.Builder
public DriveInfo.Builder tags(Iterable<String> tags)
tags
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 use(Iterable<String> use)
use
in class Drive.Builder
public static DriveInfo.Builder fromDriveInfo(DriveInfo in)
public DriveInfo build()
build
in class Drive.Builder
Copyright © 2009-2013 jclouds. All Rights Reserved.