@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListJobsResult() |
Modifier and Type | Method and Description |
---|---|
ListJobsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getJobNames()
The names of all jobs in the account, or the jobs with the specified tags.
|
String |
getNextToken()
A continuation token, if the returned list does not contain the last metric available.
|
int |
hashCode() |
void |
setJobNames(Collection<String> jobNames)
The names of all jobs in the account, or the jobs with the specified tags.
|
void |
setNextToken(String nextToken)
A continuation token, if the returned list does not contain the last metric available.
|
String |
toString()
Returns a string representation of this object.
|
ListJobsResult |
withJobNames(Collection<String> jobNames)
The names of all jobs in the account, or the jobs with the specified tags.
|
ListJobsResult |
withJobNames(String... jobNames)
The names of all jobs in the account, or the jobs with the specified tags.
|
ListJobsResult |
withNextToken(String nextToken)
A continuation token, if the returned list does not contain the last metric available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getJobNames()
The names of all jobs in the account, or the jobs with the specified tags.
public void setJobNames(Collection<String> jobNames)
The names of all jobs in the account, or the jobs with the specified tags.
jobNames
- The names of all jobs in the account, or the jobs with the specified tags.public ListJobsResult withJobNames(String... jobNames)
The names of all jobs in the account, or the jobs with the specified tags.
NOTE: This method appends the values to the existing list (if any). Use
setJobNames(java.util.Collection)
or withJobNames(java.util.Collection)
if you want to override
the existing values.
jobNames
- The names of all jobs in the account, or the jobs with the specified tags.public ListJobsResult withJobNames(Collection<String> jobNames)
The names of all jobs in the account, or the jobs with the specified tags.
jobNames
- The names of all jobs in the account, or the jobs with the specified tags.public void setNextToken(String nextToken)
A continuation token, if the returned list does not contain the last metric available.
nextToken
- A continuation token, if the returned list does not contain the last metric available.public String getNextToken()
A continuation token, if the returned list does not contain the last metric available.
public ListJobsResult withNextToken(String nextToken)
A continuation token, if the returned list does not contain the last metric available.
nextToken
- A continuation token, if the returned list does not contain the last metric available.public String toString()
toString
in class Object
Object.toString()
public ListJobsResult clone()