@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEventsFilters extends Object implements Serializable, Cloneable, StructuredPojo
Filters you can use to specify which events are returned when ListEvents
is called.
Constructor and Description |
---|
ListEventsFilters() |
Modifier and Type | Method and Description |
---|---|
ListEventsFilters |
clone() |
boolean |
equals(Object obj) |
String |
getDataSource()
The source,
AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY , of the events you want returned. |
String |
getEventClass()
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema
change.
|
String |
getEventSource()
The Amazon Web Services source that emitted the events you want to filter for.
|
EventTimeRange |
getEventTimeRange()
A time range during which you want the filtered events to have occurred.
|
String |
getInsightId()
An ID of an insight that is related to the events you want to filter for.
|
ResourceCollection |
getResourceCollection() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataSource(String dataSource)
The source,
AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY , of the events you want returned. |
void |
setEventClass(String eventClass)
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema
change.
|
void |
setEventSource(String eventSource)
The Amazon Web Services source that emitted the events you want to filter for.
|
void |
setEventTimeRange(EventTimeRange eventTimeRange)
A time range during which you want the filtered events to have occurred.
|
void |
setInsightId(String insightId)
An ID of an insight that is related to the events you want to filter for.
|
void |
setResourceCollection(ResourceCollection resourceCollection) |
String |
toString()
Returns a string representation of this object.
|
ListEventsFilters |
withDataSource(EventDataSource dataSource)
The source,
AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY , of the events you want returned. |
ListEventsFilters |
withDataSource(String dataSource)
The source,
AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY , of the events you want returned. |
ListEventsFilters |
withEventClass(EventClass eventClass)
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema
change.
|
ListEventsFilters |
withEventClass(String eventClass)
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema
change.
|
ListEventsFilters |
withEventSource(String eventSource)
The Amazon Web Services source that emitted the events you want to filter for.
|
ListEventsFilters |
withEventTimeRange(EventTimeRange eventTimeRange)
A time range during which you want the filtered events to have occurred.
|
ListEventsFilters |
withInsightId(String insightId)
An ID of an insight that is related to the events you want to filter for.
|
ListEventsFilters |
withResourceCollection(ResourceCollection resourceCollection) |
public void setInsightId(String insightId)
An ID of an insight that is related to the events you want to filter for.
insightId
- An ID of an insight that is related to the events you want to filter for.public String getInsightId()
An ID of an insight that is related to the events you want to filter for.
public ListEventsFilters withInsightId(String insightId)
An ID of an insight that is related to the events you want to filter for.
insightId
- An ID of an insight that is related to the events you want to filter for.public void setEventTimeRange(EventTimeRange eventTimeRange)
A time range during which you want the filtered events to have occurred.
eventTimeRange
- A time range during which you want the filtered events to have occurred.public EventTimeRange getEventTimeRange()
A time range during which you want the filtered events to have occurred.
public ListEventsFilters withEventTimeRange(EventTimeRange eventTimeRange)
A time range during which you want the filtered events to have occurred.
eventTimeRange
- A time range during which you want the filtered events to have occurred.public void setEventClass(String eventClass)
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.
eventClass
- The class of the events you want to filter for, such as an infrastructure change, a deployment, or a
schema change.EventClass
public String getEventClass()
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.
EventClass
public ListEventsFilters withEventClass(String eventClass)
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.
eventClass
- The class of the events you want to filter for, such as an infrastructure change, a deployment, or a
schema change.EventClass
public ListEventsFilters withEventClass(EventClass eventClass)
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema change.
eventClass
- The class of the events you want to filter for, such as an infrastructure change, a deployment, or a
schema change.EventClass
public void setEventSource(String eventSource)
The Amazon Web Services source that emitted the events you want to filter for.
eventSource
- The Amazon Web Services source that emitted the events you want to filter for.public String getEventSource()
The Amazon Web Services source that emitted the events you want to filter for.
public ListEventsFilters withEventSource(String eventSource)
The Amazon Web Services source that emitted the events you want to filter for.
eventSource
- The Amazon Web Services source that emitted the events you want to filter for.public void setDataSource(String dataSource)
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, of the events you want returned.
dataSource
- The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, of the events you want returned.EventDataSource
public String getDataSource()
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, of the events you want returned.
AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, of the events you want
returned.EventDataSource
public ListEventsFilters withDataSource(String dataSource)
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, of the events you want returned.
dataSource
- The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, of the events you want returned.EventDataSource
public ListEventsFilters withDataSource(EventDataSource dataSource)
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, of the events you want returned.
dataSource
- The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, of the events you want returned.EventDataSource
public void setResourceCollection(ResourceCollection resourceCollection)
resourceCollection
- public ResourceCollection getResourceCollection()
public ListEventsFilters withResourceCollection(ResourceCollection resourceCollection)
resourceCollection
- public String toString()
toString
in class Object
Object.toString()
public ListEventsFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.