@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEventsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeEventsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEventsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getDuration()
The duration of the events to be listed.
|
Date |
getEndTime()
The end time for the events to be listed.
|
List<String> |
getEventCategories()
A list of event categories for the source type that you've chosen.
|
List<Filter> |
getFilters()
Filters applied to events.
|
String |
getMarker()
An optional pagination token provided by a previous request.
|
Integer |
getMaxRecords()
The maximum number of records to include in the response.
|
String |
getSourceIdentifier()
The identifier of an event source.
|
String |
getSourceType()
The type of DMS resource that generates events.
|
Date |
getStartTime()
The start time for the events to be listed.
|
int |
hashCode() |
void |
setDuration(Integer duration)
The duration of the events to be listed.
|
void |
setEndTime(Date endTime)
The end time for the events to be listed.
|
void |
setEventCategories(Collection<String> eventCategories)
A list of event categories for the source type that you've chosen.
|
void |
setFilters(Collection<Filter> filters)
Filters applied to events.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous request.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
void |
setSourceIdentifier(String sourceIdentifier)
The identifier of an event source.
|
void |
setSourceType(SourceType sourceType)
The type of DMS resource that generates events.
|
void |
setSourceType(String sourceType)
The type of DMS resource that generates events.
|
void |
setStartTime(Date startTime)
The start time for the events to be listed.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEventsRequest |
withDuration(Integer duration)
The duration of the events to be listed.
|
DescribeEventsRequest |
withEndTime(Date endTime)
The end time for the events to be listed.
|
DescribeEventsRequest |
withEventCategories(Collection<String> eventCategories)
A list of event categories for the source type that you've chosen.
|
DescribeEventsRequest |
withEventCategories(String... eventCategories)
A list of event categories for the source type that you've chosen.
|
DescribeEventsRequest |
withFilters(Collection<Filter> filters)
Filters applied to events.
|
DescribeEventsRequest |
withFilters(Filter... filters)
Filters applied to events.
|
DescribeEventsRequest |
withMarker(String marker)
An optional pagination token provided by a previous request.
|
DescribeEventsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeEventsRequest |
withSourceIdentifier(String sourceIdentifier)
The identifier of an event source.
|
DescribeEventsRequest |
withSourceType(SourceType sourceType)
The type of DMS resource that generates events.
|
DescribeEventsRequest |
withSourceType(String sourceType)
The type of DMS resource that generates events.
|
DescribeEventsRequest |
withStartTime(Date startTime)
The start time for the events to be listed.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSourceIdentifier(String sourceIdentifier)
The identifier of an event source.
sourceIdentifier
- The identifier of an event source.public String getSourceIdentifier()
The identifier of an event source.
public DescribeEventsRequest withSourceIdentifier(String sourceIdentifier)
The identifier of an event source.
sourceIdentifier
- The identifier of an event source.public void setSourceType(String sourceType)
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
sourceType
- The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
SourceType
public String getSourceType()
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
Valid values: replication-instance | replication-task
SourceType
public DescribeEventsRequest withSourceType(String sourceType)
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
sourceType
- The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
SourceType
public void setSourceType(SourceType sourceType)
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
sourceType
- The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
SourceType
public DescribeEventsRequest withSourceType(SourceType sourceType)
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
sourceType
- The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
SourceType
public void setStartTime(Date startTime)
The start time for the events to be listed.
startTime
- The start time for the events to be listed.public Date getStartTime()
The start time for the events to be listed.
public DescribeEventsRequest withStartTime(Date startTime)
The start time for the events to be listed.
startTime
- The start time for the events to be listed.public void setEndTime(Date endTime)
The end time for the events to be listed.
endTime
- The end time for the events to be listed.public Date getEndTime()
The end time for the events to be listed.
public DescribeEventsRequest withEndTime(Date endTime)
The end time for the events to be listed.
endTime
- The end time for the events to be listed.public void setDuration(Integer duration)
The duration of the events to be listed.
duration
- The duration of the events to be listed.public Integer getDuration()
The duration of the events to be listed.
public DescribeEventsRequest withDuration(Integer duration)
The duration of the events to be listed.
duration
- The duration of the events to be listed.public List<String> getEventCategories()
A list of event categories for the source type that you've chosen.
public void setEventCategories(Collection<String> eventCategories)
A list of event categories for the source type that you've chosen.
eventCategories
- A list of event categories for the source type that you've chosen.public DescribeEventsRequest withEventCategories(String... eventCategories)
A list of event categories for the source type that you've chosen.
NOTE: This method appends the values to the existing list (if any). Use
setEventCategories(java.util.Collection)
or withEventCategories(java.util.Collection)
if you
want to override the existing values.
eventCategories
- A list of event categories for the source type that you've chosen.public DescribeEventsRequest withEventCategories(Collection<String> eventCategories)
A list of event categories for the source type that you've chosen.
eventCategories
- A list of event categories for the source type that you've chosen.public List<Filter> getFilters()
Filters applied to events. The only valid filter is replication-instance-id
.
replication-instance-id
.public void setFilters(Collection<Filter> filters)
Filters applied to events. The only valid filter is replication-instance-id
.
filters
- Filters applied to events. The only valid filter is replication-instance-id
.public DescribeEventsRequest withFilters(Filter... filters)
Filters applied to events. The only valid filter is replication-instance-id
.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Filters applied to events. The only valid filter is replication-instance-id
.public DescribeEventsRequest withFilters(Collection<Filter> filters)
Filters applied to events. The only valid filter is replication-instance-id
.
filters
- Filters applied to events. The only valid filter is replication-instance-id
.public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the
remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
maxRecords
- The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the
remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the
remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
MaxRecords
value, a pagination token called a marker is included in the response so that the
remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
public DescribeEventsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the
remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
maxRecords
- The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that the
remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
public void setMarker(String marker)
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.
marker
- An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.public String getMarker()
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.
MaxRecords
.public DescribeEventsRequest withMarker(String marker)
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.
marker
- An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.public String toString()
toString
in class Object
Object.toString()
public DescribeEventsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()