Package org.jclouds.elasticstack.domain
Class StandardDrive.Builder
- java.lang.Object
-
- org.jclouds.elasticstack.domain.Item.Builder
-
- org.jclouds.elasticstack.domain.Drive.Builder
-
- org.jclouds.elasticstack.domain.StandardDrive.Builder
-
- Enclosing class:
- StandardDrive
public static class StandardDrive.Builder extends Drive.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected ImageConversionType
format
protected MediaType
media
protected long
rawSize
-
Fields inherited from class org.jclouds.elasticstack.domain.Drive.Builder
claimType, readers, size
-
Fields inherited from class org.jclouds.elasticstack.domain.Item.Builder
name, tags, userMetadata, uuid
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.jclouds.elasticstack.domain.Drive.Builder
equals, hashCode
-
-
-
-
Field Detail
-
format
protected ImageConversionType format
-
media
protected MediaType media
-
rawSize
protected long rawSize
-
-
Method Detail
-
format
public StandardDrive.Builder format(ImageConversionType format)
-
media
public StandardDrive.Builder media(MediaType media)
-
rawSize
public StandardDrive.Builder rawSize(long rawSize)
-
claimType
public StandardDrive.Builder claimType(ClaimType claimType)
- Overrides:
claimType
in classDrive.Builder
-
readers
public StandardDrive.Builder readers(Iterable<String> readers)
- Overrides:
readers
in classDrive.Builder
-
size
public StandardDrive.Builder size(long size)
- Overrides:
size
in classDrive.Builder
-
uuid
public StandardDrive.Builder uuid(String uuid)
- Overrides:
uuid
in classDrive.Builder
-
name
public StandardDrive.Builder name(String name)
- Overrides:
name
in classDrive.Builder
-
tags
public StandardDrive.Builder tags(Iterable<String> tags)
- Overrides:
tags
in classDrive.Builder
-
userMetadata
public StandardDrive.Builder userMetadata(Map<String,String> userMetadata)
- Overrides:
userMetadata
in classDrive.Builder
-
fromDriveInfo
public static StandardDrive.Builder fromDriveInfo(StandardDrive driveInfo)
-
build
public StandardDrive build()
- Overrides:
build
in classDrive.Builder
-
-