@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<JobTemplate> |
getJobTemplates()
List of Job templates.
|
String |
getNextToken()
Use this string to request the next batch of job templates.
|
int |
hashCode() |
void |
setJobTemplates(Collection<JobTemplate> jobTemplates)
List of Job templates.
|
void |
setNextToken(String nextToken)
Use this string to request the next batch of job templates.
|
String |
toString()
Returns a string representation of this object.
|
ListJobTemplatesResult |
withJobTemplates(Collection<JobTemplate> jobTemplates)
List of Job templates.
|
ListJobTemplatesResult |
withJobTemplates(JobTemplate... jobTemplates)
List of Job templates.
|
ListJobTemplatesResult |
withNextToken(String nextToken)
Use this string to request the next batch of job templates.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<JobTemplate> getJobTemplates()
public void setJobTemplates(Collection<JobTemplate> jobTemplates)
jobTemplates
- List of Job templates.public ListJobTemplatesResult withJobTemplates(JobTemplate... jobTemplates)
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
- List of Job templates.public ListJobTemplatesResult withJobTemplates(Collection<JobTemplate> jobTemplates)
jobTemplates
- List of Job templates.public void setNextToken(String nextToken)
nextToken
- Use this string to request the next batch of job templates.public String getNextToken()
public ListJobTemplatesResult withNextToken(String nextToken)
nextToken
- Use this string to request the next batch of job templates.public String toString()
toString
in class Object
Object.toString()
public ListJobTemplatesResult clone()