Interface ListCommandsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse>,SdkBuilder<ListCommandsResponse.Builder,ListCommandsResponse>,SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
- ListCommandsResponse
@Mutable @NotThreadSafe public static interface ListCommandsResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCommandsResponse.Buildercommands(Collection<Command> commands)(Optional) The list of commands requested by the user.ListCommandsResponse.Buildercommands(Consumer<Command.Builder>... commands)(Optional) The list of commands requested by the user.ListCommandsResponse.Buildercommands(Command... commands)(Optional) The list of commands requested by the user.ListCommandsResponse.BuildernextToken(String nextToken)(Optional) The token for the next set of items to return.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
commands
ListCommandsResponse.Builder commands(Collection<Command> commands)
(Optional) The list of commands requested by the user.
- Parameters:
commands- (Optional) The list of commands requested by the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commands
ListCommandsResponse.Builder commands(Command... commands)
(Optional) The list of commands requested by the user.
- Parameters:
commands- (Optional) The list of commands requested by the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commands
ListCommandsResponse.Builder commands(Consumer<Command.Builder>... commands)
(Optional) The list of commands requested by the user.
This is a convenience method that creates an instance of theCommand.Builderavoiding the need to create one manually viaCommand.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 onCommand.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)
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken- (Optional) The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-