@Generated(value="software.amazon.awssdk:codegen") public final class CommandFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CommandFilter.Builder,CommandFilter>
Describes a command filter.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CommandFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CommandFilter.Builder |
builder() |
boolean |
equals(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() |
String |
value()
The filter value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 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 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
2018-07-07T00:00:00Z to see a list of command executions occurring July 7, 2018, and later.
InvokedBefore: Specify a timestamp to limit your results. For example, specify
2018-07-07T00:00:00Z to see a list of command executions from before July 7, 2018.
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 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
2018-07-07T00:00:00Z to see a list of command executions occurring July 7, 2018, and later.
InvokedBefore: Specify a timestamp to limit your results. For example, specify
2018-07-07T00:00:00Z to see a list of command executions from before July 7, 2018.
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 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()
Copyright © 2018. All rights reserved.