public static class StandardDrive.Builder extends Drive.Builder
Modifier and Type | Field and Description |
---|---|
protected ImageConversionType |
format |
protected MediaType |
media |
protected long |
rawSize |
claimType, readers, size
name, tags, userMetadata, uuid
Constructor and Description |
---|
StandardDrive.Builder() |
Modifier and Type | Method and Description |
---|---|
StandardDrive |
build() |
StandardDrive.Builder |
claimType(ClaimType claimType) |
StandardDrive.Builder |
format(ImageConversionType format) |
static StandardDrive.Builder |
fromDriveInfo(StandardDrive driveInfo) |
StandardDrive.Builder |
media(MediaType media) |
StandardDrive.Builder |
name(String name) |
StandardDrive.Builder |
rawSize(long rawSize) |
StandardDrive.Builder |
readers(Iterable<String> readers) |
StandardDrive.Builder |
size(long size) |
StandardDrive.Builder |
tags(Iterable<String> tags) |
StandardDrive.Builder |
userMetadata(Map<String,String> userMetadata) |
StandardDrive.Builder |
uuid(String uuid) |
equals, hashCode
protected ImageConversionType format
protected MediaType media
protected long rawSize
public StandardDrive.Builder format(ImageConversionType format)
public StandardDrive.Builder media(MediaType media)
public StandardDrive.Builder rawSize(long rawSize)
public StandardDrive.Builder claimType(ClaimType claimType)
claimType
in class Drive.Builder
public StandardDrive.Builder readers(Iterable<String> readers)
readers
in class Drive.Builder
public StandardDrive.Builder size(long size)
size
in class Drive.Builder
public StandardDrive.Builder uuid(String uuid)
uuid
in class Drive.Builder
public StandardDrive.Builder name(String name)
name
in class Drive.Builder
public StandardDrive.Builder tags(Iterable<String> tags)
tags
in class Drive.Builder
public StandardDrive.Builder userMetadata(Map<String,String> userMetadata)
userMetadata
in class Drive.Builder
public static StandardDrive.Builder fromDriveInfo(StandardDrive driveInfo)
public StandardDrive build()
build
in class Drive.Builder
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.