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, tagsname, use, uuid| Constructor and Description |
|---|
DriveInfo.Builder() |
equals, hashCodeprotected 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.Builderpublic DriveInfo.Builder tags(Iterable<String> tags)
tags in class Drive.Builderpublic DriveInfo.Builder readers(Iterable<String> readers)
readers in class Drive.Builderpublic DriveInfo.Builder size(long size)
size in class Drive.Builderpublic DriveInfo.Builder uuid(String uuid)
uuid in class Drive.Builderpublic DriveInfo.Builder name(String name)
name in class Drive.Builderpublic DriveInfo.Builder use(Iterable<String> use)
use in class Drive.Builderpublic static DriveInfo.Builder fromDriveInfo(DriveInfo in)
public DriveInfo build()
build in class Drive.BuilderCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.