@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityFilter extends Object implements Serializable, Cloneable, StructuredPojo
The values to use to filter results from the DescribeAffectedEntities operation.
Constructor and Description |
---|
EntityFilter() |
Modifier and Type | Method and Description |
---|---|
EntityFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEntityArns()
A list of entity ARNs (unique identifiers).
|
List<String> |
getEntityValues()
A list of IDs for affected entities.
|
List<String> |
getEventArns()
A list of event ARNs (unique identifiers).
|
List<DateTimeRange> |
getLastUpdatedTimes()
A list of the most recent dates and times that the entity was updated.
|
List<String> |
getStatusCodes()
A list of entity status codes (
IMPAIRED , UNIMPAIRED , or UNKNOWN ). |
List<Map<String,String>> |
getTags()
A map of entity tags attached to the affected entity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
|
void |
setEntityValues(Collection<String> entityValues)
A list of IDs for affected entities.
|
void |
setEventArns(Collection<String> eventArns)
A list of event ARNs (unique identifiers).
|
void |
setLastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
|
void |
setStatusCodes(Collection<String> statusCodes)
A list of entity status codes (
IMPAIRED , UNIMPAIRED , or UNKNOWN ). |
void |
setTags(Collection<Map<String,String>> tags)
A map of entity tags attached to the affected entity.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EntityFilter |
withEntityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
|
EntityFilter |
withEntityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
|
EntityFilter |
withEntityValues(Collection<String> entityValues)
A list of IDs for affected entities.
|
EntityFilter |
withEntityValues(String... entityValues)
A list of IDs for affected entities.
|
EntityFilter |
withEventArns(Collection<String> eventArns)
A list of event ARNs (unique identifiers).
|
EntityFilter |
withEventArns(String... eventArns)
A list of event ARNs (unique identifiers).
|
EntityFilter |
withLastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
|
EntityFilter |
withLastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
|
EntityFilter |
withStatusCodes(Collection<String> statusCodes)
A list of entity status codes (
IMPAIRED , UNIMPAIRED , or UNKNOWN ). |
EntityFilter |
withStatusCodes(EntityStatusCode... statusCodes)
A list of entity status codes (
IMPAIRED , UNIMPAIRED , or UNKNOWN ). |
EntityFilter |
withStatusCodes(String... statusCodes)
A list of entity status codes (
IMPAIRED , UNIMPAIRED , or UNKNOWN ). |
EntityFilter |
withTags(Collection<Map<String,String>> tags)
A map of entity tags attached to the affected entity.
|
EntityFilter |
withTags(Map<String,String>... tags)
A map of entity tags attached to the affected entity.
|
public List<String> getEventArns()
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"
"arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331", "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"
public void setEventArns(Collection<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"
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"
public EntityFilter withEventArns(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"
NOTE: This method appends the values to the existing list (if any). Use
setEventArns(java.util.Collection)
or withEventArns(java.util.Collection)
if you want to
override the existing values.
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"
public EntityFilter withEventArns(Collection<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"
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"
public List<String> getEntityArns()
A list of entity ARNs (unique identifiers).
public void setEntityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
entityArns
- A list of entity ARNs (unique identifiers).public EntityFilter withEntityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
NOTE: This method appends the values to the existing list (if any). Use
setEntityArns(java.util.Collection)
or withEntityArns(java.util.Collection)
if you want to
override the existing values.
entityArns
- A list of entity ARNs (unique identifiers).public EntityFilter withEntityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
entityArns
- A list of entity ARNs (unique identifiers).public List<String> getEntityValues()
A list of IDs for affected entities.
public void setEntityValues(Collection<String> entityValues)
A list of IDs for affected entities.
entityValues
- A list of IDs for affected entities.public EntityFilter withEntityValues(String... entityValues)
A list of IDs for affected entities.
NOTE: This method appends the values to the existing list (if any). Use
setEntityValues(java.util.Collection)
or withEntityValues(java.util.Collection)
if you want to
override the existing values.
entityValues
- A list of IDs for affected entities.public EntityFilter withEntityValues(Collection<String> entityValues)
A list of IDs for affected entities.
entityValues
- A list of IDs for affected entities.public List<DateTimeRange> getLastUpdatedTimes()
A list of the most recent dates and times that the entity was updated.
public void setLastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
lastUpdatedTimes
- A list of the most recent dates and times that the entity was updated.public EntityFilter withLastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
NOTE: This method appends the values to the existing list (if any). Use
setLastUpdatedTimes(java.util.Collection)
or withLastUpdatedTimes(java.util.Collection)
if you
want to override the existing values.
lastUpdatedTimes
- A list of the most recent dates and times that the entity was updated.public EntityFilter withLastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of the most recent dates and times that the entity was updated.
lastUpdatedTimes
- A list of the most recent dates and times that the entity was updated.public List<Map<String,String>> getTags()
A map of entity tags attached to the affected entity.
public void setTags(Collection<Map<String,String>> tags)
A map of entity tags attached to the affected entity.
tags
- A map of entity tags attached to the affected entity.public EntityFilter withTags(Map<String,String>... tags)
A map of entity tags attached to the affected entity.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A map of entity tags attached to the affected entity.public EntityFilter withTags(Collection<Map<String,String>> tags)
A map of entity tags attached to the affected entity.
tags
- A map of entity tags attached to the affected entity.public List<String> getStatusCodes()
A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).EntityStatusCode
public void setStatusCodes(Collection<String> statusCodes)
A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
statusCodes
- A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).EntityStatusCode
public EntityFilter withStatusCodes(String... statusCodes)
A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
NOTE: This method appends the values to the existing list (if any). Use
setStatusCodes(java.util.Collection)
or withStatusCodes(java.util.Collection)
if you want to
override the existing values.
statusCodes
- A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).EntityStatusCode
public EntityFilter withStatusCodes(Collection<String> statusCodes)
A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
statusCodes
- A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).EntityStatusCode
public EntityFilter withStatusCodes(EntityStatusCode... statusCodes)
A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).
statusCodes
- A list of entity status codes (IMPAIRED
, UNIMPAIRED
, or UNKNOWN
).EntityStatusCode
public String toString()
toString
in class Object
Object.toString()
public EntityFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.