@Generated(value="software.amazon.awssdk:codegen") public class EC2TagFilter extends Object implements StructuredPojo, ToCopyableBuilder<EC2TagFilter.Builder,EC2TagFilter>
Information about an EC2 tag filter.
Modifier and Type | Class and Description |
---|---|
static interface |
EC2TagFilter.Builder |
Modifier and Type | Method and Description |
---|---|
static EC2TagFilter.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The tag filter key.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EC2TagFilter.Builder> |
serializableBuilderClass() |
EC2TagFilter.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
EC2TagFilterType |
type()
The tag filter type:
|
String |
typeString()
The tag filter type:
|
String |
value()
The tag filter value.
|
copy
public String key()
The tag filter key.
public String value()
The tag filter value.
public EC2TagFilterType type()
The tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
If the service returns an enum value that is not available in the current SDK version, type
will return
EC2TagFilterType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
EC2TagFilterType
public String typeString()
The tag filter type:
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
If the service returns an enum value that is not available in the current SDK version, type
will return
EC2TagFilterType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
KEY_ONLY: Key only.
VALUE_ONLY: Value only.
KEY_AND_VALUE: Key and value.
EC2TagFilterType
public EC2TagFilter.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EC2TagFilter.Builder,EC2TagFilter>
public static EC2TagFilter.Builder builder()
public static Class<? extends EC2TagFilter.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.