@Generated(value="software.amazon.awssdk:codegen") public class EntityFilter extends Object implements StructuredPojo, ToCopyableBuilder<EntityFilter.Builder,EntityFilter>
The values to use to filter results from the DescribeAffectedEntities operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EntityFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EntityFilter.Builder |
builder() |
List<String> |
entityArns()
A list of entity ARNs (unique identifiers).
|
List<String> |
entityValues()
A list of IDs for affected entities.
|
boolean |
equals(Object obj) |
List<String> |
eventArns()
A list of event ARNs (unique identifiers).
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<DateTimeRange> |
lastUpdatedTimes()
A list of the most recent dates and times that the entity was updated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends EntityFilter.Builder> |
serializableBuilderClass() |
List<EntityStatusCode> |
statusCodes()
A list of entity status codes (
IMPAIRED, UNIMPAIRED, or UNKNOWN). |
List<String> |
statusCodesAsStrings()
A list of entity status codes (
IMPAIRED, UNIMPAIRED, or UNKNOWN). |
List<Map<String,String>> |
tags()
A map of entity tags attached to the affected entity.
|
EntityFilter.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic List<String> eventArns()
A list of event ARNs (unique identifiers). For example:
"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"public List<String> entityArns()
A list of entity ARNs (unique identifiers).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> entityValues()
A list of IDs for affected entities.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<DateTimeRange> lastUpdatedTimes()
A list of the most recent dates and times that the entity was updated.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Map<String,String>> tags()
A map of entity tags attached to the affected entity.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<EntityStatusCode> statusCodes()
A list of entity status codes (IMPAIRED, UNIMPAIRED, or UNKNOWN).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
IMPAIRED, UNIMPAIRED, or UNKNOWN).public List<String> statusCodesAsStrings()
A list of entity status codes (IMPAIRED, UNIMPAIRED, or UNKNOWN).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
IMPAIRED, UNIMPAIRED, or UNKNOWN).public EntityFilter.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<EntityFilter.Builder,EntityFilter>public static EntityFilter.Builder builder()
public static Class<? extends EntityFilter.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.