com.amazonaws.services.ec2.model
Class CancelConversionTaskRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CancelConversionTaskRequest

public class CancelConversionTaskRequest
extends AmazonWebServiceRequest

Container for the parameters to the CancelConversionTask operation.

See Also:
AmazonEC2.cancelConversionTask(CancelConversionTaskRequest)

Constructor Summary
CancelConversionTaskRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getConversionTaskId()
          Returns the value of the ConversionTaskId property for this object.
 String getReasonMessage()
          Returns the value of the ReasonMessage property for this object.
 int hashCode()
           
 void setConversionTaskId(String conversionTaskId)
          Sets the value of the ConversionTaskId property for this object.
 void setReasonMessage(String reasonMessage)
          Sets the value of the ReasonMessage property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CancelConversionTaskRequest withConversionTaskId(String conversionTaskId)
          Sets the value of the ConversionTaskId property for this object.
 CancelConversionTaskRequest withReasonMessage(String reasonMessage)
          Sets the value of the ReasonMessage property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CancelConversionTaskRequest

public CancelConversionTaskRequest()
Method Detail

getConversionTaskId

public String getConversionTaskId()
Returns the value of the ConversionTaskId property for this object.

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

setConversionTaskId

public void setConversionTaskId(String conversionTaskId)
Sets the value of the ConversionTaskId property for this object.

Parameters:
conversionTaskId - The new value for the ConversionTaskId property for this object.

withConversionTaskId

public CancelConversionTaskRequest withConversionTaskId(String conversionTaskId)
Sets the value of the ConversionTaskId property for this object.

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

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

getReasonMessage

public String getReasonMessage()
Returns the value of the ReasonMessage property for this object.

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

setReasonMessage

public void setReasonMessage(String reasonMessage)
Sets the value of the ReasonMessage property for this object.

Parameters:
reasonMessage - The new value for the ReasonMessage property for this object.

withReasonMessage

public CancelConversionTaskRequest withReasonMessage(String reasonMessage)
Sets the value of the ReasonMessage property for this object.

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

Parameters:
reasonMessage - The new value for the ReasonMessage 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.