@Generated(value="software.amazon.awssdk:codegen") public final class InstancePatchStateFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstancePatchStateFilter.Builder,InstancePatchStateFilter>
Defines a filter used in DescribeInstancePatchStatesForPatchGroup used to scope down the information returned by the API.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstancePatchStateFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstancePatchStateFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasValues()
Returns true if the Values property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
key()
The key for the filter.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstancePatchStateFilter.Builder> |
serializableBuilderClass() |
InstancePatchStateFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
InstancePatchStateOperatorType |
type()
The type of comparison that should be performed for the value: Equal, NotEqual, LessThan or GreaterThan.
|
String |
typeAsString()
The type of comparison that should be performed for the value: Equal, NotEqual, LessThan or GreaterThan.
|
List<String> |
values()
The value for the filter, must be an integer greater than or equal to 0.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String key()
The key for the filter. Supported values are FailedCount, InstalledCount, InstalledOtherCount, MissingCount and NotApplicableCount.
public boolean hasValues()
public List<String> values()
The value for the filter, must be an integer greater than or equal to 0.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasValues() to see if a value was sent in this field.
public InstancePatchStateOperatorType type()
The type of comparison that should be performed for the value: Equal, NotEqual, LessThan or GreaterThan.
If the service returns an enum value that is not available in the current SDK version, type will return
InstancePatchStateOperatorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from typeAsString().
InstancePatchStateOperatorTypepublic String typeAsString()
The type of comparison that should be performed for the value: Equal, NotEqual, LessThan or GreaterThan.
If the service returns an enum value that is not available in the current SDK version, type will return
InstancePatchStateOperatorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from typeAsString().
InstancePatchStateOperatorTypepublic InstancePatchStateFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstancePatchStateFilter.Builder,InstancePatchStateFilter>public static InstancePatchStateFilter.Builder builder()
public static Class<? extends InstancePatchStateFilter.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.