@Generated(value="software.amazon.awssdk:codegen") public class CommandFilter extends Object implements StructuredPojo, 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends CommandFilter.Builder> |
serializableBuilderClass() |
CommandFilter.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
The filter value.
|
copy
public 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()
.
CommandFilterKey
public 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()
.
CommandFilterKey
public String value()
The filter value.
public CommandFilter.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CommandFilter.Builder,CommandFilter>
public static CommandFilter.Builder builder()
public static Class<? extends CommandFilter.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.