@Generated(value="software.amazon.awssdk:codegen") public final class ListCommandsRequest extends SsmRequest implements ToCopyableBuilder<ListCommandsRequest.Builder,ListCommandsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListCommandsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListCommandsRequest.Builder |
builder() |
String |
commandId()
(Optional) If provided, lists only the specified command.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<CommandFilter> |
filters()
(Optional) One or more filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
instanceId()
(Optional) Lists commands issued against this instance ID.
|
Integer |
maxResults()
(Optional) The maximum number of items to return for this call.
|
String |
nextToken()
(Optional) The token for the next set of items to return.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListCommandsRequest.Builder> |
serializableBuilderClass() |
ListCommandsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String commandId()
(Optional) If provided, lists only the specified command.
public final String instanceId()
(Optional) Lists commands issued against this instance ID.
You can't specify an instance ID in the same command that you specify Status = Pending.
This is because the command hasn't reached the instance yet.
You can't specify an instance ID in the same command that you specify Status =
Pending. This is because the command hasn't reached the instance yet.
public final 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.
public final String nextToken()
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
public final boolean hasFilters()
public final List<CommandFilter> filters()
(Optional) One or more filters. Use a filter to return a more specific list of results.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFilters() to see if a value was sent in this field.
public ListCommandsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListCommandsRequest.Builder,ListCommandsRequest>toBuilder in class SsmRequestpublic static ListCommandsRequest.Builder builder()
public static Class<? extends ListCommandsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.