|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ImportVolumeRequest
public class ImportVolumeRequest
Container for the parameters to the ImportVolume operation
.
Creates an import volume task using metadata from the specified disk image. After importing the image, you then upload it using the ec2-import-volume command in the Amazon EC2 command-line interface (CLI) tools. For more information, see Using the Command Line Tools to Import Your Virtual Machine to Amazon EC2 in the Amazon Elastic Compute Cloud User Guide .
AmazonEC2.importVolume(ImportVolumeRequest)
,
Serialized FormConstructor Summary | |
---|---|
ImportVolumeRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAvailabilityZone()
The Availability Zone for the resulting Amazon EBS volume. |
String |
getDescription()
An optional description for the volume being imported. |
Request<ImportVolumeRequest> |
getDryRunRequest()
This method is intended for internal use only. |
DiskImageDetail |
getImage()
|
VolumeDetail |
getVolume()
|
int |
hashCode()
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone for the resulting Amazon EBS volume. |
void |
setDescription(String description)
An optional description for the volume being imported. |
void |
setImage(DiskImageDetail image)
|
void |
setVolume(VolumeDetail volume)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ImportVolumeRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone for the resulting Amazon EBS volume. |
ImportVolumeRequest |
withDescription(String description)
An optional description for the volume being imported. |
ImportVolumeRequest |
withImage(DiskImageDetail image)
Returns a reference to this object so that method calls can be chained together. |
ImportVolumeRequest |
withVolume(VolumeDetail volume)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImportVolumeRequest()
Method Detail |
---|
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The Availability Zone for the resulting Amazon EBS volume.public ImportVolumeRequest withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone for the resulting Amazon EBS volume.
public DiskImageDetail getImage()
public void setImage(DiskImageDetail image)
image
- public ImportVolumeRequest withImage(DiskImageDetail image)
Returns a reference to this object so that method calls can be chained together.
image
-
public String getDescription()
public void setDescription(String description)
description
- An optional description for the volume being imported.public ImportVolumeRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- An optional description for the volume being imported.
public VolumeDetail getVolume()
public void setVolume(VolumeDetail volume)
volume
- public ImportVolumeRequest withVolume(VolumeDetail volume)
Returns a reference to this object so that method calls can be chained together.
volume
-
public Request<ImportVolumeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ImportVolumeRequest>
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |