@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventTypeFilter extends Object implements Serializable, Cloneable
The values to use to filter results from the DescribeEventTypes operation.
| Constructor and Description |
|---|
EventTypeFilter() |
| Modifier and Type | Method and Description |
|---|---|
EventTypeFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEventTypeCategories()
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
List<String> |
getEventTypeCodes()
A list of event type codes.
|
List<String> |
getServices()
The AWS services associated with the event.
|
int |
hashCode() |
void |
setEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
void |
setEventTypeCodes(Collection<String> eventTypeCodes)
A list of event type codes.
|
void |
setServices(Collection<String> services)
The AWS services associated with the event.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EventTypeFilter |
withEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
EventTypeFilter |
withEventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
EventTypeFilter |
withEventTypeCategories(String... eventTypeCategories)
A list of event type category codes (
issue, scheduledChange, or
accountNotification). |
EventTypeFilter |
withEventTypeCodes(Collection<String> eventTypeCodes)
A list of event type codes.
|
EventTypeFilter |
withEventTypeCodes(String... eventTypeCodes)
A list of event type codes.
|
EventTypeFilter |
withServices(Collection<String> services)
The AWS services associated with the event.
|
EventTypeFilter |
withServices(String... services)
The AWS services associated with the event.
|
public List<String> getEventTypeCodes()
A list of event type codes.
public void setEventTypeCodes(Collection<String> eventTypeCodes)
A list of event type codes.
eventTypeCodes - A list of event type codes.public EventTypeFilter withEventTypeCodes(String... eventTypeCodes)
A list of event type codes.
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 event type codes.public EventTypeFilter withEventTypeCodes(Collection<String> eventTypeCodes)
A list of event type codes.
eventTypeCodes - A list of event type codes.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 EventTypeFilter 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 EventTypeFilter 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 List<String> getEventTypeCategories()
A list of event type category codes (issue, scheduledChange, or
accountNotification).
issue, scheduledChange, or
accountNotification).EventTypeCategorypublic 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).EventTypeCategorypublic EventTypeFilter 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).EventTypeCategorypublic EventTypeFilter 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).EventTypeCategorypublic EventTypeFilter 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).EventTypeCategorypublic String toString()
toString in class ObjectObject.toString()public EventTypeFilter clone()
Copyright © 2017. All rights reserved.