@Generated(value="software.amazon.awssdk:codegen") public final class InstanceInformationFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceInformationFilter.Builder,InstanceInformationFilter>
Describes a filter for a specific list of instances. You can filter instances information by using tags. You specify tags by using a key-value mapping.
Use this action instead of the DescribeInstanceInformationRequest$InstanceInformationFilterList method. The
InstanceInformationFilterList method is a legacy method and does not support tags.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceInformationFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceInformationFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasValueSet()
Returns true if the ValueSet property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
InstanceInformationFilterKey |
key()
The name of the filter.
|
String |
keyAsString()
The name of the filter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceInformationFilter.Builder> |
serializableBuilderClass() |
InstanceInformationFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
valueSet()
The filter values.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final InstanceInformationFilterKey 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
InstanceInformationFilterKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from keyAsString().
InstanceInformationFilterKeypublic 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
InstanceInformationFilterKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from keyAsString().
InstanceInformationFilterKeypublic final boolean hasValueSet()
public final List<String> valueSet()
The filter values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasValueSet() to see if a value was sent in this field.
public InstanceInformationFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceInformationFilter.Builder,InstanceInformationFilter>public static InstanceInformationFilter.Builder builder()
public static Class<? extends InstanceInformationFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.