Interface ListAuditMitigationActionsTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAuditMitigationActionsTasksResponse.Builder,
,ListAuditMitigationActionsTasksResponse> IotResponse.Builder
,SdkBuilder<ListAuditMitigationActionsTasksResponse.Builder,
,ListAuditMitigationActionsTasksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAuditMitigationActionsTasksResponse
public static interface ListAuditMitigationActionsTasksResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListAuditMitigationActionsTasksResponse.Builder,ListAuditMitigationActionsTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.The collection of audit mitigation tasks that matched the filter criteria.The collection of audit mitigation tasks that matched the filter criteria.tasks
(AuditMitigationActionsTaskMetadata... tasks) The collection of audit 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
ListAuditMitigationActionsTasksResponse.Builder tasks(Collection<AuditMitigationActionsTaskMetadata> tasks) The collection of audit mitigation tasks that matched the filter criteria.
- Parameters:
tasks
- The collection of audit 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 audit mitigation tasks that matched the filter criteria.
- Parameters:
tasks
- The collection of audit mitigation tasks that matched the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
ListAuditMitigationActionsTasksResponse.Builder tasks(Consumer<AuditMitigationActionsTaskMetadata.Builder>... tasks) The collection of audit mitigation tasks that matched the filter criteria.
This is a convenience method that creates an instance of theAuditMitigationActionsTaskMetadata.Builder
avoiding the need to create one manually viaAuditMitigationActionsTaskMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totasks(List<AuditMitigationActionsTaskMetadata>)
.- Parameters:
tasks
- a consumer that will call methods onAuditMitigationActionsTaskMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results.
- Parameters:
nextToken
- The token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-