Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class CopyImageRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CopyImageRequest
All Implemented Interfaces:
Serializable

public class CopyImageRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CopyImage operation.

See Also:
AmazonEC2.copyImage(CopyImageRequest), Serialized Form

Constructor 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

CopyImageRequest

public CopyImageRequest()
Method Detail

getSourceRegion

public String getSourceRegion()
Returns the value of the SourceRegion property for this object.

Returns:
The value of the SourceRegion property for this object.

setSourceRegion

public void setSourceRegion(String sourceRegion)
Sets the value of the SourceRegion property for this object.

Parameters:
sourceRegion - The new value for the SourceRegion property for this object.

withSourceRegion

public CopyImageRequest withSourceRegion(String sourceRegion)
Sets the value of the SourceRegion property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sourceRegion - The new value for the SourceRegion property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getSourceImageId

public String getSourceImageId()
Returns the value of the SourceImageId property for this object.

Returns:
The value of the SourceImageId property for this object.

setSourceImageId

public void setSourceImageId(String sourceImageId)
Sets the value of the SourceImageId property for this object.

Parameters:
sourceImageId - The new value for the SourceImageId property for this object.

withSourceImageId

public CopyImageRequest withSourceImageId(String sourceImageId)
Sets the value of the SourceImageId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sourceImageId - The new value for the SourceImageId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public String getName()
Returns the value of the Name property for this object.

Returns:
The value of the Name property for this object.

setName

public void setName(String name)
Sets the value of the Name property for this object.

Parameters:
name - The new value for the Name property for this object.

withName

public CopyImageRequest withName(String name)
Sets the value of the Name property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - The new value for the Name property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
Returns the value of the Description property for this object.

Returns:
The value of the Description property for this object.

setDescription

public void setDescription(String description)
Sets the value of the Description property for this object.

Parameters:
description - The new value for the Description property for this object.

withDescription

public CopyImageRequest withDescription(String description)
Sets the value of the Description property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - The new value for the Description property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getClientToken

public String getClientToken()
Returns the value of the ClientToken property for this object.

Returns:
The value of the ClientToken property for this object.

setClientToken

public void setClientToken(String clientToken)
Sets the value of the ClientToken property for this object.

Parameters:
clientToken - The new value for the ClientToken property for this object.

withClientToken

public CopyImageRequest withClientToken(String clientToken)
Sets the value of the ClientToken property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clientToken - The new value for the ClientToken property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.