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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builderbuild, 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 on- Command.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.
 
 
-