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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCommandInvocationsResponse.Builder
commandInvocations(Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.ListCommandInvocationsResponse.Builder
commandInvocations(Consumer<CommandInvocation.Builder>... commandInvocations)
(Optional) A list of all invocations.ListCommandInvocationsResponse.Builder
commandInvocations(CommandInvocation... commandInvocations)
(Optional) A list of all invocations.ListCommandInvocationsResponse.Builder
nextToken(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, 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
-
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
ListCommandInvocationsResponse.Builder commandInvocations(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
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 to#commandInvocations(List
.) - 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:
#commandInvocations(java.util.Collection
)
-
nextToken
ListCommandInvocationsResponse.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.
-
-