Interface ListDetectMitigationActionsTasksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDetectMitigationActionsTasksResponse.Builder,ListDetectMitigationActionsTasksResponse>
,IotResponse.Builder
,SdkBuilder<ListDetectMitigationActionsTasksResponse.Builder,ListDetectMitigationActionsTasksResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListDetectMitigationActionsTasksResponse
public static interface ListDetectMitigationActionsTasksResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListDetectMitigationActionsTasksResponse.Builder,ListDetectMitigationActionsTasksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDetectMitigationActionsTasksResponse.Builder
nextToken(String nextToken)
A token that can be used to retrieve the next set of results, ornull
if there are no additional results.ListDetectMitigationActionsTasksResponse.Builder
tasks(Collection<DetectMitigationActionsTaskSummary> tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.ListDetectMitigationActionsTasksResponse.Builder
tasks(Consumer<DetectMitigationActionsTaskSummary.Builder>... tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.ListDetectMitigationActionsTasksResponse.Builder
tasks(DetectMitigationActionsTaskSummary... tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
tasks
ListDetectMitigationActionsTasksResponse.Builder tasks(Collection<DetectMitigationActionsTaskSummary> tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.
- Parameters:
tasks
- The collection of ML Detect mitigation tasks that matched the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
ListDetectMitigationActionsTasksResponse.Builder tasks(DetectMitigationActionsTaskSummary... tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.
- Parameters:
tasks
- The collection of ML Detect mitigation tasks that matched the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
ListDetectMitigationActionsTasksResponse.Builder tasks(Consumer<DetectMitigationActionsTaskSummary.Builder>... tasks)
The collection of ML Detect mitigation tasks that matched the filter criteria.
This is a convenience method that creates an instance of theDetectMitigationActionsTaskSummary.Builder
avoiding the need to create one manually viaDetectMitigationActionsTaskSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tasks(List
.) - Parameters:
tasks
- a consumer that will call methods onDetectMitigationActionsTaskSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tasks(java.util.Collection
)
-
nextToken
ListDetectMitigationActionsTasksResponse.Builder nextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null
if there are no additional results.- Parameters:
nextToken
- A token that can be used to retrieve the next set of results, ornull
if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-