@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 a source type that you want to subscribe to.
|
List<Filter> |
getFilters()
Filters applied to the action.
|
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 the event source.
|
String |
getSourceType()
The type of AWS 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 a source type that you want to subscribe to.
|
void |
setFilters(Collection<Filter> filters)
Filters applied to the action.
|
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 the event source.
|
void |
setSourceType(SourceType sourceType)
The type of AWS DMS resource that generates events.
|
void |
setSourceType(String sourceType)
The type of AWS 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; useful for testing and debugging.
|
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 a source type that you want to subscribe to.
|
DescribeEventsRequest |
withEventCategories(String... eventCategories)
A list of event categories for a source type that you want to subscribe to.
|
DescribeEventsRequest |
withFilters(Collection<Filter> filters)
Filters applied to the action.
|
DescribeEventsRequest |
withFilters(Filter... filters)
Filters applied to the action.
|
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 the event source.
|
DescribeEventsRequest |
withSourceType(SourceType sourceType)
The type of AWS DMS resource that generates events.
|
DescribeEventsRequest |
withSourceType(String sourceType)
The type of AWS 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 the event source. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It cannot end with a hyphen or contain two consecutive hyphens.
sourceIdentifier
- The identifier of the event source. An identifier must begin with a letter and must contain only ASCII
letters, digits, and hyphens. It cannot end with a hyphen or contain two consecutive hyphens.public String getSourceIdentifier()
The identifier of the event source. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It cannot end with a hyphen or contain two consecutive hyphens.
public DescribeEventsRequest withSourceIdentifier(String sourceIdentifier)
The identifier of the event source. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It cannot end with a hyphen or contain two consecutive hyphens.
sourceIdentifier
- The identifier of the event source. An identifier must begin with a letter and must contain only ASCII
letters, digits, and hyphens. It cannot end with a hyphen or contain two consecutive hyphens.public void setSourceType(String sourceType)
The type of AWS DMS resource that generates events.
Valid values: replication-instance | migration-task
sourceType
- The type of AWS DMS resource that generates events.
Valid values: replication-instance | migration-task
SourceType
public String getSourceType()
The type of AWS DMS resource that generates events.
Valid values: replication-instance | migration-task
Valid values: replication-instance | migration-task
SourceType
public DescribeEventsRequest withSourceType(String sourceType)
The type of AWS DMS resource that generates events.
Valid values: replication-instance | migration-task
sourceType
- The type of AWS DMS resource that generates events.
Valid values: replication-instance | migration-task
SourceType
public void setSourceType(SourceType sourceType)
The type of AWS DMS resource that generates events.
Valid values: replication-instance | migration-task
sourceType
- The type of AWS DMS resource that generates events.
Valid values: replication-instance | migration-task
SourceType
public DescribeEventsRequest withSourceType(SourceType sourceType)
The type of AWS DMS resource that generates events.
Valid values: replication-instance | migration-task
sourceType
- The type of AWS DMS resource that generates events.
Valid values: replication-instance | migration-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 a source type that you want to subscribe to.
public void setEventCategories(Collection<String> eventCategories)
A list of event categories for a source type that you want to subscribe to.
eventCategories
- A list of event categories for a source type that you want to subscribe to.public DescribeEventsRequest withEventCategories(String... eventCategories)
A list of event categories for a source type that you want to subscribe to.
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 a source type that you want to subscribe to.public DescribeEventsRequest withEventCategories(Collection<String> eventCategories)
A list of event categories for a source type that you want to subscribe to.
eventCategories
- A list of event categories for a source type that you want to subscribe to.public List<Filter> getFilters()
Filters applied to the action.
public void setFilters(Collection<Filter> filters)
Filters applied to the action.
filters
- Filters applied to the action.public DescribeEventsRequest withFilters(Filter... filters)
Filters applied to the action.
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 the action.public DescribeEventsRequest withFilters(Collection<Filter> filters)
Filters applied to the action.
filters
- Filters applied to the action.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.