public class CopyImageRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<CopyImageRequest>
CopyImage operation
.Constructor and Description |
---|
CopyImageRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClientToken()
Returns the value of the ClientToken property for this object.
|
String |
getDescription()
Returns the value of the Description property for this object.
|
Request<CopyImageRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getName()
Returns the value of the Name property for this object.
|
String |
getSourceImageId()
Returns the value of the SourceImageId property for this object.
|
String |
getSourceRegion()
Returns the value of the SourceRegion property for this object.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Sets the value of the ClientToken property for this object.
|
void |
setDescription(String description)
Sets the value of the Description property for this object.
|
void |
setName(String name)
Sets the value of the Name property for this object.
|
void |
setSourceImageId(String sourceImageId)
Sets the value of the SourceImageId property for this object.
|
void |
setSourceRegion(String sourceRegion)
Sets the value of the SourceRegion property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CopyImageRequest |
withClientToken(String clientToken)
Sets the value of the ClientToken property for this object.
|
CopyImageRequest |
withDescription(String description)
Sets the value of the Description property for this object.
|
CopyImageRequest |
withName(String name)
Sets the value of the Name property for this object.
|
CopyImageRequest |
withSourceImageId(String sourceImageId)
Sets the value of the SourceImageId property for this object.
|
CopyImageRequest |
withSourceRegion(String sourceRegion)
Sets the value of the SourceRegion property for this object.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getSourceRegion()
public void setSourceRegion(String sourceRegion)
sourceRegion
- The new value for the SourceRegion property for this object.public CopyImageRequest withSourceRegion(String sourceRegion)
Returns a reference to this object so that method calls can be chained together.
sourceRegion
- The new value for the SourceRegion property for this object.public String getSourceImageId()
public void setSourceImageId(String sourceImageId)
sourceImageId
- The new value for the SourceImageId property for this object.public CopyImageRequest withSourceImageId(String sourceImageId)
Returns a reference to this object so that method calls can be chained together.
sourceImageId
- The new value for the SourceImageId property for this object.public String getName()
public void setName(String name)
name
- The new value for the Name property for this object.public CopyImageRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The new value for the Name property for this object.public String getDescription()
public void setDescription(String description)
description
- The new value for the Description property for this object.public CopyImageRequest 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 String getClientToken()
public void setClientToken(String clientToken)
clientToken
- The new value for the ClientToken property for this object.public CopyImageRequest withClientToken(String clientToken)
Returns a reference to this object so that method calls can be chained together.
clientToken
- The new value for the ClientToken property for this object.public Request<CopyImageRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CopyImageRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.