|
Did this page help you?Yes No Tell us about it... |
||||||
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.CopyImageRequest
public class CopyImageRequest
Container for the parameters to the CopyImage operation
.
AmazonEC2.copyImage(CopyImageRequest)
,
Serialized FormConstructor Summary | |
---|---|
CopyImageRequest()
|
Method Summary | |
---|---|
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. |
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CopyImageRequest()
Method Detail |
---|
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 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 |