@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDetectMitigationActionsTasksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDetectMitigationActionsTasksResult() |
Modifier and Type | Method and Description |
---|---|
ListDetectMitigationActionsTasksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
List<DetectMitigationActionsTaskSummary> |
getTasks()
The collection of ML Detect mitigation tasks that matched the filter criteria.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
void |
setTasks(Collection<DetectMitigationActionsTaskSummary> tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.
|
String |
toString()
Returns a string representation of this object.
|
ListDetectMitigationActionsTasksResult |
withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
ListDetectMitigationActionsTasksResult |
withTasks(Collection<DetectMitigationActionsTaskSummary> tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.
|
ListDetectMitigationActionsTasksResult |
withTasks(DetectMitigationActionsTaskSummary... tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListDetectMitigationActionsTasksResult()
public List<DetectMitigationActionsTaskSummary> getTasks()
The collection of ML Detect mitigation tasks that matched the filter criteria.
public void setTasks(Collection<DetectMitigationActionsTaskSummary> tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.
tasks
- The collection of ML Detect mitigation tasks that matched the filter criteria.public ListDetectMitigationActionsTasksResult withTasks(DetectMitigationActionsTaskSummary... tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.
NOTE: This method appends the values to the existing list (if any). Use
setTasks(java.util.Collection)
or withTasks(java.util.Collection)
if you want to override the
existing values.
tasks
- The collection of ML Detect mitigation tasks that matched the filter criteria.public ListDetectMitigationActionsTasksResult withTasks(Collection<DetectMitigationActionsTaskSummary> tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.
tasks
- The collection of ML Detect mitigation tasks that matched the filter criteria.public void setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String getNextToken()
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
null
if there are no
additional results.public ListDetectMitigationActionsTasksResult withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String toString()
toString
in class Object
Object.toString()
public ListDetectMitigationActionsTasksResult clone()