public class ImportVolumeRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<ImportVolumeRequest>
ImportVolume operation
.Constructor and Description |
---|
ImportVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
Returns the value of the AvailabilityZone property for this object.
|
String |
getDescription()
Returns the value of the Description property for this object.
|
Request<ImportVolumeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
DiskImageDetail |
getImage()
Returns the value of the Image property for this object.
|
VolumeDetail |
getVolume()
Returns the value of the Volume property for this object.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object.
|
void |
setDescription(String description)
Sets the value of the Description property for this object.
|
void |
setImage(DiskImageDetail image)
Sets the value of the Image property for this object.
|
void |
setVolume(VolumeDetail volume)
Sets the value of the Volume property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImportVolumeRequest |
withAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object.
|
ImportVolumeRequest |
withDescription(String description)
Sets the value of the Description property for this object.
|
ImportVolumeRequest |
withImage(DiskImageDetail image)
Sets the value of the Image property for this object.
|
ImportVolumeRequest |
withVolume(VolumeDetail volume)
Sets the value of the Volume property for this object.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The new value for the AvailabilityZone property for this object.public ImportVolumeRequest withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The new value for the AvailabilityZone property for this object.public DiskImageDetail getImage()
public void setImage(DiskImageDetail image)
image
- The new value for the Image property for this object.public ImportVolumeRequest withImage(DiskImageDetail image)
Returns a reference to this object so that method calls can be chained together.
image
- The new value for the Image property for this object.public String getDescription()
public void setDescription(String description)
description
- The new value for the Description property for this object.public ImportVolumeRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The new value for the Description property for this object.public VolumeDetail getVolume()
public void setVolume(VolumeDetail volume)
volume
- The new value for the Volume property for this object.public ImportVolumeRequest withVolume(VolumeDetail volume)
Returns a reference to this object so that method calls can be chained together.
volume
- The new value for the Volume property for this object.public Request<ImportVolumeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ImportVolumeRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.