Interface ListCommandExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCommandExecutionsResponse.Builder,
,ListCommandExecutionsResponse> IotResponse.Builder
,SdkBuilder<ListCommandExecutionsResponse.Builder,
,ListCommandExecutionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCommandExecutionsResponse
@Mutable
@NotThreadSafe
public static interface ListCommandExecutionsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListCommandExecutionsResponse.Builder,ListCommandExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncommandExecutions
(Collection<CommandExecutionSummary> commandExecutions) The list of command executions.commandExecutions
(Consumer<CommandExecutionSummary.Builder>... commandExecutions) The list of command executions.commandExecutions
(CommandExecutionSummary... commandExecutions) The list of command executions.The token to use to get 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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
commandExecutions
ListCommandExecutionsResponse.Builder commandExecutions(Collection<CommandExecutionSummary> commandExecutions) The list of command executions.
- Parameters:
commandExecutions
- The list of command executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandExecutions
ListCommandExecutionsResponse.Builder commandExecutions(CommandExecutionSummary... commandExecutions) The list of command executions.
- Parameters:
commandExecutions
- The list of command executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandExecutions
ListCommandExecutionsResponse.Builder commandExecutions(Consumer<CommandExecutionSummary.Builder>... commandExecutions) The list of command executions.
This is a convenience method that creates an instance of theCommandExecutionSummary.Builder
avoiding the need to create one manually viaCommandExecutionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommandExecutions(List<CommandExecutionSummary>)
.- Parameters:
commandExecutions
- a consumer that will call methods onCommandExecutionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to get the next set of results, or
null
if there are no additional results.- Parameters:
nextToken
- The token to use to get 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.
-