Interface ListCommandsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCommandsResponse.Builder,,ListCommandsResponse> IotResponse.Builder,SdkBuilder<ListCommandsResponse.Builder,,ListCommandsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCommandsResponse
@Mutable
@NotThreadSafe
public static interface ListCommandsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncommands(Collection<CommandSummary> commands) The list of commands.commands(Consumer<CommandSummary.Builder>... commands) The list of commands.commands(CommandSummary... commands) The list of commands.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
-
commands
The list of commands.
- Parameters:
commands- The list of commands.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commands
The list of commands.
- Parameters:
commands- The list of commands.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commands
The list of commands.
This is a convenience method that creates an instance of theCommandSummary.Builderavoiding the need to create one manually viaCommandSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocommands(List<CommandSummary>).- Parameters:
commands- a consumer that will call methods onCommandSummary.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.
-