Interface ListCommandInvocationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCommandInvocationsResponse.Builder,
,ListCommandInvocationsResponse> SdkBuilder<ListCommandInvocationsResponse.Builder,
,ListCommandInvocationsResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
ListCommandInvocationsResponse
public static interface ListCommandInvocationsResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListCommandInvocationsResponse.Builder,ListCommandInvocationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncommandInvocations
(Collection<CommandInvocation> commandInvocations) (Optional) A list of all invocations.commandInvocations
(Consumer<CommandInvocation.Builder>... commandInvocations) (Optional) A list of all invocations.commandInvocations
(CommandInvocation... commandInvocations) (Optional) A list of all invocations.(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, 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 Details
-
commandInvocations
ListCommandInvocationsResponse.Builder commandInvocations(Collection<CommandInvocation> commandInvocations) (Optional) A list of all invocations.
- Parameters:
commandInvocations
- (Optional) A list of all invocations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandInvocations
(Optional) A list of all invocations.
- Parameters:
commandInvocations
- (Optional) A list of all invocations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commandInvocations
ListCommandInvocationsResponse.Builder commandInvocations(Consumer<CommandInvocation.Builder>... commandInvocations) (Optional) A list of all invocations.
This is a convenience method that creates an instance of theCommandInvocation.Builder
avoiding the need to create one manually viaCommandInvocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommandInvocations(List<CommandInvocation>)
.- Parameters:
commandInvocations
- a consumer that will call methods onCommandInvocation.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.
-