@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListJobTemplatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListJobTemplatesResult() |
Modifier and Type | Method and Description |
---|---|
ListJobTemplatesResult |
clone() |
boolean |
equals(Object obj) |
List<JobTemplateSummary> |
getJobTemplates()
A list of objects that contain information about the job templates.
|
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setJobTemplates(Collection<JobTemplateSummary> jobTemplates)
A list of objects that contain information about the job templates.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListJobTemplatesResult |
withJobTemplates(Collection<JobTemplateSummary> jobTemplates)
A list of objects that contain information about the job templates.
|
ListJobTemplatesResult |
withJobTemplates(JobTemplateSummary... jobTemplates)
A list of objects that contain information about the job templates.
|
ListJobTemplatesResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<JobTemplateSummary> getJobTemplates()
A list of objects that contain information about the job templates.
public void setJobTemplates(Collection<JobTemplateSummary> jobTemplates)
A list of objects that contain information about the job templates.
jobTemplates
- A list of objects that contain information about the job templates.public ListJobTemplatesResult withJobTemplates(JobTemplateSummary... jobTemplates)
A list of objects that contain information about the job templates.
NOTE: This method appends the values to the existing list (if any). Use
setJobTemplates(java.util.Collection)
or withJobTemplates(java.util.Collection)
if you want to
override the existing values.
jobTemplates
- A list of objects that contain information about the job templates.public ListJobTemplatesResult withJobTemplates(Collection<JobTemplateSummary> jobTemplates)
A list of objects that contain information about the job templates.
jobTemplates
- A list of objects that contain information about the job templates.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListJobTemplatesResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListJobTemplatesResult clone()