Interface ListCommandsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse>,IotResponse.Builder,SdkBuilder<ListCommandsResponse.Builder,ListCommandsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCommandsResponse
public static interface ListCommandsResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCommandsResponse.Buildercommands(Collection<CommandSummary> commands)The list of commands.ListCommandsResponse.Buildercommands(Consumer<CommandSummary.Builder>... commands)The list of commands.ListCommandsResponse.Buildercommands(CommandSummary... commands)The list of commands.ListCommandsResponse.BuildernextToken(String nextToken)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
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 Detail
-
commands
ListCommandsResponse.Builder commands(Collection<CommandSummary> 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
ListCommandsResponse.Builder commands(CommandSummary... 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
ListCommandsResponse.Builder commands(Consumer<CommandSummary.Builder>... 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 to#commands(List.) - 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:
#commands(java.util.Collection)
-
nextToken
ListCommandsResponse.Builder nextToken(String 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.
-
-