Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.importexport.model
Class CancelJobRequest

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

public class CancelJobRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CancelJob operation.

This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.

See Also:
AmazonImportExport.cancelJob(CancelJobRequest), Serialized Form

Constructor Summary
CancelJobRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getJobId()
          A unique identifier which refers to a particular job.
 int hashCode()
           
 void setJobId(String jobId)
          A unique identifier which refers to a particular job.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CancelJobRequest withJobId(String jobId)
          A unique identifier which refers to a particular job.
 
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

CancelJobRequest

public CancelJobRequest()
Method Detail

getJobId

public String getJobId()
A unique identifier which refers to a particular job.

Returns:
A unique identifier which refers to a particular job.

setJobId

public void setJobId(String jobId)
A unique identifier which refers to a particular job.

Parameters:
jobId - A unique identifier which refers to a particular job.

withJobId

public CancelJobRequest withJobId(String jobId)
A unique identifier which refers to a particular job.

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

Parameters:
jobId - A unique identifier which refers to a particular job.
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.