Package org.jclouds.ec2.options
Class CreateVolumeOptions.Builder
- java.lang.Object
-
- org.jclouds.ec2.options.CreateVolumeOptions.Builder
-
- Enclosing class:
- CreateVolumeOptions
public static class CreateVolumeOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CreateVolumeOptionsfromSnapshotId(String snapshotId)static CreateVolumeOptionsisEncrypted(boolean encrypted)static CreateVolumeOptionsvolumeType(String volumeType)static CreateVolumeOptionswithIops(Integer iops)static CreateVolumeOptionswithSize(int size)
-
-
-
Method Detail
-
fromSnapshotId
public static CreateVolumeOptions fromSnapshotId(String snapshotId)
-
withSize
public static CreateVolumeOptions withSize(int size)
- See Also:
CreateVolumeOptions.withSize(int)
-
volumeType
public static CreateVolumeOptions volumeType(String volumeType)
- See Also:
CreateVolumeOptions.volumeType(String)
-
withIops
public static CreateVolumeOptions withIops(Integer iops)
- See Also:
CreateVolumeOptions.withIops(Integer)
-
isEncrypted
public static CreateVolumeOptions isEncrypted(boolean encrypted)
- See Also:
CreateVolumeOptions.isEncrypted(boolean)
-
-