@Generated(value="software.amazon.awssdk:codegen") public final class EntityFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EntityFilter.Builder,EntityFilter>
The values to use to filter results from the EntityFilter 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) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
eventArns()
A list of event ARNs (unique identifiers).
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEntityArns()
Returns true if the EntityArns property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasEntityValues()
Returns true if the EntityValues property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasEventArns()
Returns true if the EventArns property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasLastUpdatedTimes()
Returns true if the LastUpdatedTimes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasStatusCodes()
Returns true if the StatusCodes property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<DateTimeRange> |
lastUpdatedTimes()
A list of the most recent dates and times that the entity was updated.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasEventArns()
public final List<String> eventArns()
A list of event ARNs (unique identifiers). For example:
"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventArns() to see if a value was sent in this field.
"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"public final boolean hasEntityArns()
public final List<String> entityArns()
A list of entity ARNs (unique identifiers).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEntityArns() to see if a value was sent in this field.
public final boolean hasEntityValues()
public final List<String> entityValues()
A list of IDs for affected entities.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEntityValues() to see if a value was sent in this field.
public final boolean hasLastUpdatedTimes()
public final 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.
You can use hasLastUpdatedTimes() to see if a value was sent in this field.
public final boolean hasTags()
public final List<Map<String,String>> tags()
A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
Currently, the tags property isn't supported.
public final 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.
You can use hasStatusCodes() to see if a value was sent in this field.
IMPAIRED, UNIMPAIRED, or UNKNOWN).public final boolean hasStatusCodes()
public final 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.
You can use hasStatusCodes() to see if a value was sent in this field.
IMPAIRED, UNIMPAIRED, or UNKNOWN).public EntityFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EntityFilter.Builder,EntityFilter>public static EntityFilter.Builder builder()
public static Class<? extends EntityFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.