@Generated(value="software.amazon.awssdk:codegen") public class InstancePatchStateFilter extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The key for the filter.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends InstancePatchStateFilter.Builder> |
serializableBuilderClass() |
InstancePatchStateFilter.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
copy
public String key()
The key for the filter. Supported values are FailedCount, InstalledCount, InstalledOtherCount, MissingCount and NotApplicableCount.
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.
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()
.
InstancePatchStateOperatorType
public 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()
.
InstancePatchStateOperatorType
public InstancePatchStateFilter.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstancePatchStateFilter.Builder,InstancePatchStateFilter>
public static InstancePatchStateFilter.Builder builder()
public static Class<? extends InstancePatchStateFilter.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.