public static interface ListCommandsRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<ListCommandsRequest.Builder,ListCommandsRequest>
| Modifier and Type | Method and Description |
|---|---|
ListCommandsRequest.Builder |
commandId(String commandId)
(Optional) If provided, lists only the specified command.
|
ListCommandsRequest.Builder |
filters(Collection<CommandFilter> filters)
(Optional) One or more filters.
|
ListCommandsRequest.Builder |
filters(CommandFilter... filters)
(Optional) One or more filters.
|
ListCommandsRequest.Builder |
filters(Consumer<CommandFilter.Builder>... filters)
(Optional) One or more filters.
|
ListCommandsRequest.Builder |
instanceId(String instanceId)
(Optional) Lists commands issued against this managed node ID.
|
ListCommandsRequest.Builder |
maxResults(Integer maxResults)
(Optional) The maximum number of items to return for this call.
|
ListCommandsRequest.Builder |
nextToken(String nextToken)
(Optional) The token for the next set of items to return.
|
ListCommandsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListCommandsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListCommandsRequest.Builder commandId(String commandId)
(Optional) If provided, lists only the specified command.
commandId - (Optional) If provided, lists only the specified command.ListCommandsRequest.Builder instanceId(String instanceId)
(Optional) Lists commands issued against this managed node ID.
You can't specify a managed node ID in the same command that you specify Status =
Pending. This is because the command hasn't reached the managed node yet.
instanceId - (Optional) Lists commands issued against this managed node ID.
You can't specify a managed node ID in the same command that you specify Status =
Pending. This is because the command hasn't reached the managed node yet.
ListCommandsRequest.Builder maxResults(Integer maxResults)
(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults - (Optional) The maximum number of items to return for this call. The call also returns a token that you
can specify in a subsequent call to get the next set of results.ListCommandsRequest.Builder nextToken(String nextToken)
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
nextToken - (Optional) The token for the next set of items to return. (You received this token from a previous
call.)ListCommandsRequest.Builder filters(Collection<CommandFilter> filters)
(Optional) One or more filters. Use a filter to return a more specific list of results.
filters - (Optional) One or more filters. Use a filter to return a more specific list of results.ListCommandsRequest.Builder filters(CommandFilter... filters)
(Optional) One or more filters. Use a filter to return a more specific list of results.
filters - (Optional) One or more filters. Use a filter to return a more specific list of results.ListCommandsRequest.Builder filters(Consumer<CommandFilter.Builder>... filters)
(Optional) One or more filters. Use a filter to return a more specific list of results.
This is a convenience method that creates an instance of theCommandFilter.Builder avoiding the need to create one
manually via CommandFilter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #filters(List.
filters - a consumer that will call methods on
CommandFilter.Builder#filters(java.util.Collection) ListCommandsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListCommandsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.