Interface ListCommandsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListCommandsResponse.Builder,,ListCommandsResponse> SdkBuilder<ListCommandsResponse.Builder,,ListCommandsResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
 ListCommandsResponse
public static interface ListCommandsResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioncommands(Collection<Command> commands) (Optional) The list of commands requested by the user.commands(Consumer<Command.Builder>... commands) (Optional) The list of commands requested by the user.(Optional) The list of commands requested by the user.(Optional) The token for the next set of items to return.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata 
- 
Method Details
- 
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
(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
(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 tocommands(List<Command>).- 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:
 
 - 
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.
 
 
 -