@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CopyImageRequest() |
Modifier and Type | Method and Description |
---|---|
CopyImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDestinationImageDescription()
The description that the image will have when it is copied to the destination.
|
String |
getDestinationImageName()
The name that the image will have when it is copied to the destination.
|
String |
getDestinationRegion()
The destination region to which the image will be copied.
|
String |
getSourceImageName()
The name of the image to copy.
|
int |
hashCode() |
void |
setDestinationImageDescription(String destinationImageDescription)
The description that the image will have when it is copied to the destination.
|
void |
setDestinationImageName(String destinationImageName)
The name that the image will have when it is copied to the destination.
|
void |
setDestinationRegion(String destinationRegion)
The destination region to which the image will be copied.
|
void |
setSourceImageName(String sourceImageName)
The name of the image to copy.
|
String |
toString()
Returns a string representation of this object.
|
CopyImageRequest |
withDestinationImageDescription(String destinationImageDescription)
The description that the image will have when it is copied to the destination.
|
CopyImageRequest |
withDestinationImageName(String destinationImageName)
The name that the image will have when it is copied to the destination.
|
CopyImageRequest |
withDestinationRegion(String destinationRegion)
The destination region to which the image will be copied.
|
CopyImageRequest |
withSourceImageName(String sourceImageName)
The name of the image to copy.
|
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 setSourceImageName(String sourceImageName)
The name of the image to copy.
sourceImageName
- The name of the image to copy.public String getSourceImageName()
The name of the image to copy.
public CopyImageRequest withSourceImageName(String sourceImageName)
The name of the image to copy.
sourceImageName
- The name of the image to copy.public void setDestinationImageName(String destinationImageName)
The name that the image will have when it is copied to the destination.
destinationImageName
- The name that the image will have when it is copied to the destination.public String getDestinationImageName()
The name that the image will have when it is copied to the destination.
public CopyImageRequest withDestinationImageName(String destinationImageName)
The name that the image will have when it is copied to the destination.
destinationImageName
- The name that the image will have when it is copied to the destination.public void setDestinationRegion(String destinationRegion)
The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.
destinationRegion
- The destination region to which the image will be copied. This parameter is required, even if you are
copying an image within the same region.public String getDestinationRegion()
The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.
public CopyImageRequest withDestinationRegion(String destinationRegion)
The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.
destinationRegion
- The destination region to which the image will be copied. This parameter is required, even if you are
copying an image within the same region.public void setDestinationImageDescription(String destinationImageDescription)
The description that the image will have when it is copied to the destination.
destinationImageDescription
- The description that the image will have when it is copied to the destination.public String getDestinationImageDescription()
The description that the image will have when it is copied to the destination.
public CopyImageRequest withDestinationImageDescription(String destinationImageDescription)
The description that the image will have when it is copied to the destination.
destinationImageDescription
- The description that the image will have when it is copied to the destination.public String toString()
toString
in class Object
Object.toString()
public CopyImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()