@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventFilter extends Object implements Serializable, Cloneable, StructuredPojo
The values to use to filter results from the DescribeEvents and DescribeEventAggregates operations.
| Constructor and Description |
|---|
EventFilter() |
| Modifier and Type | Method and Description |
|---|---|
EventFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
A list of Amazon Web Services Availability Zones.
|
List<DateTimeRange> |
getEndTimes()
A list of dates and times that the event ended.
|
List<String> |
getEntityArns()
A list of entity ARNs (unique identifiers).
|
List<String> |
getEntityValues()
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (
vol-426ab23e). |
List<String> |
getEventArns()
A list of event ARNs (unique identifiers).
|
List<String> |
getEventStatusCodes()
A list of event status codes.
|
List<String> |
getEventTypeCategories()
A list of event type category codes.
|
List<String> |
getEventTypeCodes()
A list of unique identifiers for event types.
|
List<DateTimeRange> |
getLastUpdatedTimes()
A list of dates and times that the event was last updated.
|
List<String> |
getRegions()
A list of Amazon Web Services Regions.
|
List<String> |
getServices()
The Amazon Web Services associated with the event.
|
List<DateTimeRange> |
getStartTimes()
A list of dates and times that the event began.
|
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 |
setAvailabilityZones(Collection<String> availabilityZones)
A list of Amazon Web Services Availability Zones.
|
void |
setEndTimes(Collection<DateTimeRange> endTimes)
A list of dates and times that the event ended.
|
void |
setEntityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
|
void |
setEntityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (
vol-426ab23e). |
void |
setEventArns(Collection<String> eventArns)
A list of event ARNs (unique identifiers).
|
void |
setEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
|
void |
setEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes.
|
void |
setEventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types.
|
void |
setLastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of dates and times that the event was last updated.
|
void |
setRegions(Collection<String> regions)
A list of Amazon Web Services Regions.
|
void |
setServices(Collection<String> services)
The Amazon Web Services associated with the event.
|
void |
setStartTimes(Collection<DateTimeRange> startTimes)
A list of dates and times that the event began.
|
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.
|
EventFilter |
withAvailabilityZones(Collection<String> availabilityZones)
A list of Amazon Web Services Availability Zones.
|
EventFilter |
withAvailabilityZones(String... availabilityZones)
A list of Amazon Web Services Availability Zones.
|
EventFilter |
withEndTimes(Collection<DateTimeRange> endTimes)
A list of dates and times that the event ended.
|
EventFilter |
withEndTimes(DateTimeRange... endTimes)
A list of dates and times that the event ended.
|
EventFilter |
withEntityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
|
EventFilter |
withEntityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
|
EventFilter |
withEntityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (
vol-426ab23e). |
EventFilter |
withEntityValues(String... entityValues)
A list of entity identifiers, such as EC2 instance IDs (
i-34ab692e) or EBS volumes (
vol-426ab23e). |
EventFilter |
withEventArns(Collection<String> eventArns)
A list of event ARNs (unique identifiers).
|
EventFilter |
withEventArns(String... eventArns)
A list of event ARNs (unique identifiers).
|
EventFilter |
withEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
|
EventFilter |
withEventStatusCodes(EventStatusCode... eventStatusCodes)
A list of event status codes.
|
EventFilter |
withEventStatusCodes(String... eventStatusCodes)
A list of event status codes.
|
EventFilter |
withEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes.
|
EventFilter |
withEventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes.
|
EventFilter |
withEventTypeCategories(String... eventTypeCategories)
A list of event type category codes.
|
EventFilter |
withEventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types.
|
EventFilter |
withEventTypeCodes(String... eventTypeCodes)
A list of unique identifiers for event types.
|
EventFilter |
withLastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of dates and times that the event was last updated.
|
EventFilter |
withLastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of dates and times that the event was last updated.
|
EventFilter |
withRegions(Collection<String> regions)
A list of Amazon Web Services Regions.
|
EventFilter |
withRegions(String... regions)
A list of Amazon Web Services Regions.
|
EventFilter |
withServices(Collection<String> services)
The Amazon Web Services associated with the event.
|
EventFilter |
withServices(String... services)
The Amazon Web Services associated with the event.
|
EventFilter |
withStartTimes(Collection<DateTimeRange> startTimes)
A list of dates and times that the event began.
|
EventFilter |
withStartTimes(DateTimeRange... startTimes)
A list of dates and times that the event began.
|
EventFilter |
withTags(Collection<Map<String,String>> tags)
A map of entity tags attached to the affected entity.
|
EventFilter |
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/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"
"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 void setEventArns(Collection<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"
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"public EventFilter withEventArns(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"
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/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 EventFilter withEventArns(Collection<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"
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"public List<String> getEventTypeCodes()
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".public void setEventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
eventTypeCodes - A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".public EventFilter withEventTypeCodes(String... eventTypeCodes)
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
NOTE: This method appends the values to the existing list (if any). Use
setEventTypeCodes(java.util.Collection) or withEventTypeCodes(java.util.Collection) if you want
to override the existing values.
eventTypeCodes - A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".public EventFilter withEventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
eventTypeCodes - A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".public List<String> getServices()
The Amazon Web Services associated with the event. For example, EC2, RDS.
EC2, RDS.public void setServices(Collection<String> services)
The Amazon Web Services associated with the event. For example, EC2, RDS.
services - The Amazon Web Services associated with the event. For example, EC2, RDS.public EventFilter withServices(String... services)
The Amazon Web Services associated with the event. For example, EC2, RDS.
NOTE: This method appends the values to the existing list (if any). Use
setServices(java.util.Collection) or withServices(java.util.Collection) if you want to override
the existing values.
services - The Amazon Web Services associated with the event. For example, EC2, RDS.public EventFilter withServices(Collection<String> services)
The Amazon Web Services associated with the event. For example, EC2, RDS.
services - The Amazon Web Services associated with the event. For example, EC2, RDS.public List<String> getRegions()
A list of Amazon Web Services Regions.
public void setRegions(Collection<String> regions)
A list of Amazon Web Services Regions.
regions - A list of Amazon Web Services Regions.public EventFilter withRegions(String... regions)
A list of Amazon Web Services Regions.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection) or withRegions(java.util.Collection) if you want to override
the existing values.
regions - A list of Amazon Web Services Regions.public EventFilter withRegions(Collection<String> regions)
A list of Amazon Web Services Regions.
regions - A list of Amazon Web Services Regions.public List<String> getAvailabilityZones()
A list of Amazon Web Services Availability Zones.
public void setAvailabilityZones(Collection<String> availabilityZones)
A list of Amazon Web Services Availability Zones.
availabilityZones - A list of Amazon Web Services Availability Zones.public EventFilter withAvailabilityZones(String... availabilityZones)
A list of Amazon Web Services Availability Zones.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection) or withAvailabilityZones(java.util.Collection) if
you want to override the existing values.
availabilityZones - A list of Amazon Web Services Availability Zones.public EventFilter withAvailabilityZones(Collection<String> availabilityZones)
A list of Amazon Web Services Availability Zones.
availabilityZones - A list of Amazon Web Services Availability Zones.public List<DateTimeRange> getStartTimes()
A list of dates and times that the event began.
public void setStartTimes(Collection<DateTimeRange> startTimes)
A list of dates and times that the event began.
startTimes - A list of dates and times that the event began.public EventFilter withStartTimes(DateTimeRange... startTimes)
A list of dates and times that the event began.
NOTE: This method appends the values to the existing list (if any). Use
setStartTimes(java.util.Collection) or withStartTimes(java.util.Collection) if you want to
override the existing values.
startTimes - A list of dates and times that the event began.public EventFilter withStartTimes(Collection<DateTimeRange> startTimes)
A list of dates and times that the event began.
startTimes - A list of dates and times that the event began.public List<DateTimeRange> getEndTimes()
A list of dates and times that the event ended.
public void setEndTimes(Collection<DateTimeRange> endTimes)
A list of dates and times that the event ended.
endTimes - A list of dates and times that the event ended.public EventFilter withEndTimes(DateTimeRange... endTimes)
A list of dates and times that the event ended.
NOTE: This method appends the values to the existing list (if any). Use
setEndTimes(java.util.Collection) or withEndTimes(java.util.Collection) if you want to override
the existing values.
endTimes - A list of dates and times that the event ended.public EventFilter withEndTimes(Collection<DateTimeRange> endTimes)
A list of dates and times that the event ended.
endTimes - A list of dates and times that the event ended.public List<DateTimeRange> getLastUpdatedTimes()
A list of dates and times that the event was last updated.
public void setLastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of dates and times that the event was last updated.
lastUpdatedTimes - A list of dates and times that the event was last updated.public EventFilter withLastUpdatedTimes(DateTimeRange... lastUpdatedTimes)
A list of dates and times that the event was last 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 dates and times that the event was last updated.public EventFilter withLastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)
A list of dates and times that the event was last updated.
lastUpdatedTimes - A list of dates and times that the event was last updated.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 EventFilter 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 EventFilter 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 entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).
i-34ab692e) or EBS volumes (
vol-426ab23e).public void setEntityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).
entityValues - A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).public EventFilter withEntityValues(String... entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).
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 entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).public EventFilter withEntityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).
entityValues - A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (
vol-426ab23e).public List<String> getEventTypeCategories()
A list of event type category codes. Possible values are issue, accountNotification, or
scheduledChange. Currently, the investigation value isn't supported at this time.
issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventTypeCategorypublic void setEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes. Possible values are issue, accountNotification, or
scheduledChange. Currently, the investigation value isn't supported at this time.
eventTypeCategories - A list of event type category codes. Possible values are issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventTypeCategorypublic EventFilter withEventTypeCategories(String... eventTypeCategories)
A list of event type category codes. Possible values are issue, accountNotification, or
scheduledChange. Currently, the investigation value isn't supported at this time.
NOTE: This method appends the values to the existing list (if any). Use
setEventTypeCategories(java.util.Collection) or withEventTypeCategories(java.util.Collection)
if you want to override the existing values.
eventTypeCategories - A list of event type category codes. Possible values are issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventTypeCategorypublic EventFilter withEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes. Possible values are issue, accountNotification, or
scheduledChange. Currently, the investigation value isn't supported at this time.
eventTypeCategories - A list of event type category codes. Possible values are issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventTypeCategorypublic EventFilter withEventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes. Possible values are issue, accountNotification, or
scheduledChange. Currently, the investigation value isn't supported at this time.
eventTypeCategories - A list of event type category codes. Possible values are issue,
accountNotification, or scheduledChange. Currently, the
investigation value isn't supported at this time.EventTypeCategorypublic List<Map<String,String>> getTags()
A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
Currently, the tags property isn't supported.
public void setTags(Collection<Map<String,String>> tags)
A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
tags - A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
public EventFilter withTags(Map<String,String>... tags)
A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
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.
Currently, the tags property isn't supported.
public EventFilter withTags(Collection<Map<String,String>> tags)
A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
tags - A map of entity tags attached to the affected entity.
Currently, the tags property isn't supported.
public List<String> getEventStatusCodes()
A list of event status codes.
EventStatusCodepublic void setEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.EventStatusCodepublic EventFilter withEventStatusCodes(String... eventStatusCodes)
A list of event status codes.
NOTE: This method appends the values to the existing list (if any). Use
setEventStatusCodes(java.util.Collection) or withEventStatusCodes(java.util.Collection) if you
want to override the existing values.
eventStatusCodes - A list of event status codes.EventStatusCodepublic EventFilter withEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.EventStatusCodepublic EventFilter withEventStatusCodes(EventStatusCode... eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.EventStatusCodepublic String toString()
toString in class ObjectObject.toString()public EventFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.