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
Modifier and TypeMethodDescriptionA token that can be used to retrieve the next set of results, ornull
if there are no additional results.The collection of ML Detect mitigation tasks that matched the filter criteria.The collection of ML Detect mitigation tasks that matched the filter criteria.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 Details
-
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
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 totasks(List<DetectMitigationActionsTaskSummary>)
.- 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:
-
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.
-