@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 AWS 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 (
issue , scheduledChange , or
accountNotification ). |
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 AWS regions.
|
List<String> |
getServices()
The AWS 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 AWS 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 (
issue , scheduledChange , or
accountNotification ). |
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 AWS regions.
|
void |
setServices(Collection<String> services)
The AWS 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; useful for testing and debugging.
|
EventFilter |
withAvailabilityZones(Collection<String> availabilityZones)
A list of AWS availability zones.
|
EventFilter |
withAvailabilityZones(String... availabilityZones)
A list of AWS 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 (
issue , scheduledChange , or
accountNotification ). |
EventFilter |
withEventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes (
issue , scheduledChange , or
accountNotification ). |
EventFilter |
withEventTypeCategories(String... eventTypeCategories)
A list of event type category codes (
issue , scheduledChange , or
accountNotification ). |
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 AWS regions.
|
EventFilter |
withRegions(String... regions)
A list of AWS regions.
|
EventFilter |
withServices(Collection<String> services)
The AWS services associated with the event.
|
EventFilter |
withServices(String... services)
The AWS 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/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 EventFilter 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 EventFilter 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> 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 AWS services associated with the event. For example, EC2
, RDS
.
EC2
, RDS
.public void setServices(Collection<String> services)
The AWS services associated with the event. For example, EC2
, RDS
.
services
- The AWS services associated with the event. For example, EC2
, RDS
.public EventFilter withServices(String... services)
The AWS 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 AWS services associated with the event. For example, EC2
, RDS
.public EventFilter withServices(Collection<String> services)
The AWS services associated with the event. For example, EC2
, RDS
.
services
- The AWS services associated with the event. For example, EC2
, RDS
.public void setRegions(Collection<String> regions)
A list of AWS regions.
regions
- A list of AWS regions.public EventFilter withRegions(String... regions)
A list of AWS 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 AWS regions.public EventFilter withRegions(Collection<String> regions)
A list of AWS regions.
regions
- A list of AWS regions.public List<String> getAvailabilityZones()
A list of AWS availability zones.
public void setAvailabilityZones(Collection<String> availabilityZones)
A list of AWS availability zones.
availabilityZones
- A list of AWS availability zones.public EventFilter withAvailabilityZones(String... availabilityZones)
A list of AWS 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 AWS availability zones.public EventFilter withAvailabilityZones(Collection<String> availabilityZones)
A list of AWS availability zones.
availabilityZones
- A list of AWS 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 (issue
, scheduledChange
, or
accountNotification
).
issue
, scheduledChange
, or
accountNotification
).EventTypeCategory
public void setEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
eventTypeCategories
- A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).EventTypeCategory
public EventFilter withEventTypeCategories(String... eventTypeCategories)
A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
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 (issue
, scheduledChange
, or
accountNotification
).EventTypeCategory
public EventFilter withEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
eventTypeCategories
- A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).EventTypeCategory
public EventFilter withEventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).
eventTypeCategories
- A list of event type category codes (issue
, scheduledChange
, or
accountNotification
).EventTypeCategory
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 EventFilter 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 EventFilter 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> getEventStatusCodes()
A list of event status codes.
EventStatusCode
public void setEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
eventStatusCodes
- A list of event status codes.EventStatusCode
public 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.EventStatusCode
public EventFilter withEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
eventStatusCodes
- A list of event status codes.EventStatusCode
public EventFilter withEventStatusCodes(EventStatusCode... eventStatusCodes)
A list of event status codes.
eventStatusCodes
- A list of event status codes.EventStatusCode
public String toString()
toString
in class Object
Object.toString()
public EventFilter 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.