@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
BatchGetJobsResult() |
| Modifier and Type | Method and Description |
|---|---|
BatchGetJobsResult |
clone() |
boolean |
equals(Object obj) |
List<Job> |
getJobs()
A list of job definitions.
|
List<String> |
getJobsNotFound()
A list of names of jobs not found.
|
int |
hashCode() |
void |
setJobs(Collection<Job> jobs)
A list of job definitions.
|
void |
setJobsNotFound(Collection<String> jobsNotFound)
A list of names of jobs not found.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetJobsResult |
withJobs(Collection<Job> jobs)
A list of job definitions.
|
BatchGetJobsResult |
withJobs(Job... jobs)
A list of job definitions.
|
BatchGetJobsResult |
withJobsNotFound(Collection<String> jobsNotFound)
A list of names of jobs not found.
|
BatchGetJobsResult |
withJobsNotFound(String... jobsNotFound)
A list of names of jobs not found.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setJobs(Collection<Job> jobs)
A list of job definitions.
jobs - A list of job definitions.public BatchGetJobsResult withJobs(Job... jobs)
A list of job definitions.
NOTE: This method appends the values to the existing list (if any). Use
setJobs(java.util.Collection) or withJobs(java.util.Collection) if you want to override the
existing values.
jobs - A list of job definitions.public BatchGetJobsResult withJobs(Collection<Job> jobs)
A list of job definitions.
jobs - A list of job definitions.public List<String> getJobsNotFound()
A list of names of jobs not found.
public void setJobsNotFound(Collection<String> jobsNotFound)
A list of names of jobs not found.
jobsNotFound - A list of names of jobs not found.public BatchGetJobsResult withJobsNotFound(String... jobsNotFound)
A list of names of jobs not found.
NOTE: This method appends the values to the existing list (if any). Use
setJobsNotFound(java.util.Collection) or withJobsNotFound(java.util.Collection) if you want to
override the existing values.
jobsNotFound - A list of names of jobs not found.public BatchGetJobsResult withJobsNotFound(Collection<String> jobsNotFound)
A list of names of jobs not found.
jobsNotFound - A list of names of jobs not found.public String toString()
toString in class ObjectObject.toString()public BatchGetJobsResult clone()