@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTaskTemplatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTaskTemplatesResult() |
Modifier and Type | Method and Description |
---|---|
ListTaskTemplatesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
List<TaskTemplateMetadata> |
getTaskTemplates()
Provides details about a list of task templates belonging to an instance.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setTaskTemplates(Collection<TaskTemplateMetadata> taskTemplates)
Provides details about a list of task templates belonging to an instance.
|
String |
toString()
Returns a string representation of this object.
|
ListTaskTemplatesResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
ListTaskTemplatesResult |
withTaskTemplates(Collection<TaskTemplateMetadata> taskTemplates)
Provides details about a list of task templates belonging to an instance.
|
ListTaskTemplatesResult |
withTaskTemplates(TaskTemplateMetadata... taskTemplates)
Provides details about a list of task templates belonging to an instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TaskTemplateMetadata> getTaskTemplates()
Provides details about a list of task templates belonging to an instance.
public void setTaskTemplates(Collection<TaskTemplateMetadata> taskTemplates)
Provides details about a list of task templates belonging to an instance.
taskTemplates
- Provides details about a list of task templates belonging to an instance.public ListTaskTemplatesResult withTaskTemplates(TaskTemplateMetadata... taskTemplates)
Provides details about a list of task templates belonging to an instance.
NOTE: This method appends the values to the existing list (if any). Use
setTaskTemplates(java.util.Collection)
or withTaskTemplates(java.util.Collection)
if you want
to override the existing values.
taskTemplates
- Provides details about a list of task templates belonging to an instance.public ListTaskTemplatesResult withTaskTemplates(Collection<TaskTemplateMetadata> taskTemplates)
Provides details about a list of task templates belonging to an instance.
taskTemplates
- Provides details about a list of task templates belonging to an instance.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
This is always returned as a null in the response.
nextToken
- If there are additional results, this is the token for the next set of results. This is always returned as a null in the response.
public String getNextToken()
If there are additional results, this is the token for the next set of results.
This is always returned as a null in the response.
This is always returned as a null in the response.
public ListTaskTemplatesResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
This is always returned as a null in the response.
nextToken
- If there are additional results, this is the token for the next set of results. This is always returned as a null in the response.
public String toString()
toString
in class Object
Object.toString()
public ListTaskTemplatesResult clone()