@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ImportVolumeRequest>
Contains the parameters for ImportVolume.
NOOP
Constructor and Description |
---|
ImportVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
ImportVolumeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone for the resulting EBS volume.
|
String |
getDescription()
A description of the volume.
|
Request<ImportVolumeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
DiskImageDetail |
getImage()
The disk image.
|
VolumeDetail |
getVolume()
The volume size.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone for the resulting EBS volume.
|
void |
setDescription(String description)
A description of the volume.
|
void |
setImage(DiskImageDetail image)
The disk image.
|
void |
setVolume(VolumeDetail volume)
The volume size.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ImportVolumeRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone for the resulting EBS volume.
|
ImportVolumeRequest |
withDescription(String description)
A description of the volume.
|
ImportVolumeRequest |
withImage(DiskImageDetail image)
The disk image.
|
ImportVolumeRequest |
withVolume(VolumeDetail volume)
The volume size.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAvailabilityZone(String availabilityZone)
The Availability Zone for the resulting EBS volume.
availabilityZone
- The Availability Zone for the resulting EBS volume.public String getAvailabilityZone()
The Availability Zone for the resulting EBS volume.
public ImportVolumeRequest withAvailabilityZone(String availabilityZone)
The Availability Zone for the resulting EBS volume.
availabilityZone
- The Availability Zone for the resulting EBS volume.public void setDescription(String description)
A description of the volume.
description
- A description of the volume.public String getDescription()
A description of the volume.
public ImportVolumeRequest withDescription(String description)
A description of the volume.
description
- A description of the volume.public void setImage(DiskImageDetail image)
The disk image.
image
- The disk image.public DiskImageDetail getImage()
The disk image.
public ImportVolumeRequest withImage(DiskImageDetail image)
The disk image.
image
- The disk image.public void setVolume(VolumeDetail volume)
The volume size.
volume
- The volume size.public VolumeDetail getVolume()
The volume size.
public ImportVolumeRequest withVolume(VolumeDetail volume)
The volume size.
volume
- The volume size.public Request<ImportVolumeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ImportVolumeRequest>
public String toString()
toString
in class Object
Object.toString()
public ImportVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.