Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.importexport.model
Class ListJobsRequest

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

public class ListJobsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ListJobs operation.

This operation returns the jobs associated with the requester. AWS Import/Export lists the jobs in reverse chronological order based on the date of creation. For example if Job Test1 was created 2009Dec30 and Test2 was created 2010Feb05, the ListJobs operation would return Test2 followed by Test1.

See Also:
AmazonImportExport.listJobs(ListJobsRequest), Serialized Form

Constructor Summary
ListJobsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getMarker()
          Specifies the JOBID to start after when listing the jobs created with your account.
 Integer getMaxJobs()
          Sets the maximum number of jobs returned in the response.
 int hashCode()
           
 void setMarker(String marker)
          Specifies the JOBID to start after when listing the jobs created with your account.
 void setMaxJobs(Integer maxJobs)
          Sets the maximum number of jobs returned in the response.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListJobsRequest withMarker(String marker)
          Specifies the JOBID to start after when listing the jobs created with your account.
 ListJobsRequest withMaxJobs(Integer maxJobs)
          Sets the maximum number of jobs returned in the response.
 
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

ListJobsRequest

public ListJobsRequest()
Method Detail

getMaxJobs

public Integer getMaxJobs()
Sets the maximum number of jobs returned in the response. If there are additional jobs that were not returned because MaxJobs was exceeded, the response contains true. To return the additional jobs, see Marker.

Returns:
Sets the maximum number of jobs returned in the response. If there are additional jobs that were not returned because MaxJobs was exceeded, the response contains true. To return the additional jobs, see Marker.

setMaxJobs

public void setMaxJobs(Integer maxJobs)
Sets the maximum number of jobs returned in the response. If there are additional jobs that were not returned because MaxJobs was exceeded, the response contains true. To return the additional jobs, see Marker.

Parameters:
maxJobs - Sets the maximum number of jobs returned in the response. If there are additional jobs that were not returned because MaxJobs was exceeded, the response contains true. To return the additional jobs, see Marker.

withMaxJobs

public ListJobsRequest withMaxJobs(Integer maxJobs)
Sets the maximum number of jobs returned in the response. If there are additional jobs that were not returned because MaxJobs was exceeded, the response contains true. To return the additional jobs, see Marker.

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

Parameters:
maxJobs - Sets the maximum number of jobs returned in the response. If there are additional jobs that were not returned because MaxJobs was exceeded, the response contains true. To return the additional jobs, see Marker.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
Specifies the JOBID to start after when listing the jobs created with your account. AWS Import/Export lists your jobs in reverse chronological order. See MaxJobs.

Returns:
Specifies the JOBID to start after when listing the jobs created with your account. AWS Import/Export lists your jobs in reverse chronological order. See MaxJobs.

setMarker

public void setMarker(String marker)
Specifies the JOBID to start after when listing the jobs created with your account. AWS Import/Export lists your jobs in reverse chronological order. See MaxJobs.

Parameters:
marker - Specifies the JOBID to start after when listing the jobs created with your account. AWS Import/Export lists your jobs in reverse chronological order. See MaxJobs.

withMarker

public ListJobsRequest withMarker(String marker)
Specifies the JOBID to start after when listing the jobs created with your account. AWS Import/Export lists your jobs in reverse chronological order. See MaxJobs.

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

Parameters:
marker - Specifies the JOBID to start after when listing the jobs created with your account. AWS Import/Export lists your jobs in reverse chronological order. See MaxJobs.
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.