CopyableBuilder<ListCommandsRequest.Builder,ListCommandsRequest>
, SdkBuilder<ListCommandsRequest.Builder,ListCommandsRequest>
public static interface ListCommandsRequest.Builder extends CopyableBuilder<ListCommandsRequest.Builder,ListCommandsRequest>
Modifier and Type | Method | 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 |
instanceId(String instanceId) |
(Optional) Lists commands issued against this instance 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.
|
copy
apply, build
ListCommandsRequest.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 instance ID.
instanceId
- (Optional) Lists commands issued against this instance ID.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.
NOTE: This method appends the values to the existing list (if any). Use
#setFilters(java.util.Collection)
or #withFilters(java.util.Collection)
if you want to
override the existing values.
filters
- (Optional) One or more filters. Use a filter to return a more specific list of results.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.