@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventTypeFilter extends Object implements Serializable, Cloneable, StructuredPojo
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.
|
List<String> |
getEventTypeCodes()
A list of event type codes.
|
List<String> |
getServices()
The Amazon Web Services associated with the event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes.
|
void |
setEventTypeCodes(Collection<String> eventTypeCodes)
A list of event type codes.
|
void |
setServices(Collection<String> services)
The Amazon Web Services associated with the event.
|
String |
toString()
Returns a string representation of this object.
|
EventTypeFilter |
withEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes.
|
EventTypeFilter |
withEventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes.
|
EventTypeFilter |
withEventTypeCategories(String... eventTypeCategories)
A list of event type category codes.
|
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 Amazon Web Services associated with the event.
|
EventTypeFilter |
withServices(String... services)
The Amazon Web 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 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 EventTypeFilter 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 EventTypeFilter 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> 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.EventTypeCategory
public 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.EventTypeCategory
public EventTypeFilter 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.EventTypeCategory
public EventTypeFilter 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.EventTypeCategory
public EventTypeFilter 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.EventTypeCategory
public String toString()
toString
in class Object
Object.toString()
public EventTypeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.