@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 managed nodes. You can filter node information by using tags. You specify tags by using a key-value mapping.
Use this operation instead of the DescribeInstanceInformationRequest$InstanceInformationFilterList method. The
InstanceInformationFilterList method is a legacy method and doesn't 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()
For responses, this returns true if the service returned a value for the ValueSet property.
|
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()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> valueSet()
The filter values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasValueSet() method.
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.