Interface ListDetectMitigationActionsExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDetectMitigationActionsExecutionsResponse.Builder,
,ListDetectMitigationActionsExecutionsResponse> IotResponse.Builder
,SdkBuilder<ListDetectMitigationActionsExecutionsResponse.Builder,
,ListDetectMitigationActionsExecutionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDetectMitigationActionsExecutionsResponse
public static interface ListDetectMitigationActionsExecutionsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListDetectMitigationActionsExecutionsResponse.Builder,ListDetectMitigationActionsExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionactionsExecutions
(Collection<DetectMitigationActionExecution> actionsExecutions) List of actions executions.actionsExecutions
(Consumer<DetectMitigationActionExecution.Builder>... actionsExecutions) List of actions executions.actionsExecutions
(DetectMitigationActionExecution... actionsExecutions) List of actions executions.A token that can be used to retrieve the next set of results, ornull
if there are no additional results.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
-
actionsExecutions
ListDetectMitigationActionsExecutionsResponse.Builder actionsExecutions(Collection<DetectMitigationActionExecution> actionsExecutions) List of actions executions.
- Parameters:
actionsExecutions
- List of actions executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsExecutions
ListDetectMitigationActionsExecutionsResponse.Builder actionsExecutions(DetectMitigationActionExecution... actionsExecutions) List of actions executions.
- Parameters:
actionsExecutions
- List of actions executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsExecutions
ListDetectMitigationActionsExecutionsResponse.Builder actionsExecutions(Consumer<DetectMitigationActionExecution.Builder>... actionsExecutions) List of actions executions.
This is a convenience method that creates an instance of theDetectMitigationActionExecution.Builder
avoiding the need to create one manually viaDetectMitigationActionExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionsExecutions(List<DetectMitigationActionExecution>)
.- Parameters:
actionsExecutions
- a consumer that will call methods onDetectMitigationActionExecution.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.
-