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, sizename, 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, 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 claimType(ClaimType claimType)
claimType 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 tags(Iterable<String> tags)
tags in class Drive.Builderpublic DriveInfo.Builder userMetadata(Map<String,String> userMetadata)
userMetadata in class Drive.Builderpublic static DriveInfo.Builder fromDriveInfo(DriveInfo driveInfo)
public DriveInfo build()
build in class Drive.BuilderCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.