@Generated(value="software.amazon.awssdk:codegen") public final class CommandFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CommandFilter.Builder,CommandFilter>
Describes a command filter.
An instance ID can't be specified when a command status is Pending because the command hasn't run on the
instance yet.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CommandFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CommandFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
CommandFilterKey |
key()
The name of the filter.
|
String |
keyAsString()
The name of the filter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CommandFilter.Builder> |
serializableBuilderClass() |
CommandFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The filter value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CommandFilterKey key()
The name of the filter.
If the service returns an enum value that is not available in the current SDK version, key will return
CommandFilterKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAsString().
CommandFilterKeypublic final String keyAsString()
The name of the filter.
If the service returns an enum value that is not available in the current SDK version, key will return
CommandFilterKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAsString().
CommandFilterKeypublic final String value()
The filter value. Valid values for each filter key are as follows:
InvokedAfter: Specify a timestamp to limit your results. For example, specify
2021-07-07T00:00:00Z to see a list of command executions occurring July 7, 2021, and later.
InvokedBefore: Specify a timestamp to limit your results. For example, specify
2021-07-07T00:00:00Z to see a list of command executions from before July 7, 2021.
Status: Specify a valid command status to see a list of all command executions with that status. Status values you can specify include:
Pending
InProgress
Success
Cancelled
Failed
TimedOut
Cancelling
DocumentName: Specify name of the Amazon Web Services Systems Manager document (SSM document) for which
you want to see command execution results. For example, specify AWS-RunPatchBaseline to see command
executions that used this SSM document to perform security patching operations on instances.
ExecutionStage: Specify one of the following values:
Executing: Returns a list of command executions that are currently still running.
Complete: Returns a list of command executions that have already completed.
InvokedAfter: Specify a timestamp to limit your results. For example, specify
2021-07-07T00:00:00Z to see a list of command executions occurring July 7, 2021, and later.
InvokedBefore: Specify a timestamp to limit your results. For example, specify
2021-07-07T00:00:00Z to see a list of command executions from before July 7, 2021.
Status: Specify a valid command status to see a list of all command executions with that status. Status values you can specify include:
Pending
InProgress
Success
Cancelled
Failed
TimedOut
Cancelling
DocumentName: Specify name of the Amazon Web Services Systems Manager document (SSM document) for
which you want to see command execution results. For example, specify AWS-RunPatchBaseline
to see command executions that used this SSM document to perform security patching operations on
instances.
ExecutionStage: Specify one of the following values:
Executing: Returns a list of command executions that are currently still running.
Complete: Returns a list of command executions that have already completed.
public CommandFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CommandFilter.Builder,CommandFilter>public static CommandFilter.Builder builder()
public static Class<? extends CommandFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.