Java com.amazonaws.services.ec2.model CreateVolumeRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.ec2.model CreateVolumeRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.ec2.model CreateVolumeRequest.

The text is from its open source code.

Constructor

CreateVolumeRequest()
Default constructor for CreateVolumeRequest object.
CreateVolumeRequest(Integer size, String availabilityZone)
Constructs a new CreateVolumeRequest object.
CreateVolumeRequest(String snapshotId, String availabilityZone)
Constructs a new CreateVolumeRequest object.

Method

StringgetAvailabilityZone()

The Availability Zone in which to create the volume.

IntegergetSize()

The size of the volume, in GiBs.

StringgetSnapshotId()

The snapshot from which to create the volume.

voidsetAvailabilityZone(String availabilityZone)

The Availability Zone in which to create the volume.

voidsetSize(Integer size)

The size of the volume, in GiBs.

voidsetSnapshotId(String snapshotId)

The snapshot from which to create the volume.

CreateVolumeRequestwithAvailabilityZone(String availabilityZone)

The Availability Zone in which to create the volume.

CreateVolumeRequestwithSize(Integer size)

The size of the volume, in GiBs.

CreateVolumeRequestwithSnapshotId(String snapshotId)

The snapshot from which to create the volume.

CreateVolumeRequestwithVolumeType(String volumeType)

The volume type.

CreateVolumeRequestwithVolumeType(VolumeType volumeType)

The volume type.