@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String commandId()
(Optional) If provided, lists only the specified command.
public String instanceId()
(Optional) Lists commands issued against this instance ID.
public 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 String nextToken()
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
public boolean hasFilters()
public 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 SsmRequest
public static ListCommandsRequest.Builder builder()
public static Class<? extends ListCommandsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.