Interface ListCommandExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCommandExecutionsResponse.Builder,,ListCommandExecutionsResponse> IotResponse.Builder,SdkBuilder<ListCommandExecutionsResponse.Builder,,ListCommandExecutionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCommandExecutionsResponse
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, ornullif there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaCommandExecutionSummary.builder().When the
Consumercompletes,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
nullif there are no additional results.- Parameters:
nextToken- The token to use to get the next set of results, ornullif there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-