public static interface DescribeEventsRequest.Builder extends DatabaseMigrationRequest.Builder, CopyableBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>
Modifier and Type | Method and Description |
---|---|
DescribeEventsRequest.Builder |
duration(Integer duration)
The duration of the events to be listed.
|
DescribeEventsRequest.Builder |
endTime(Instant endTime)
The end time for the events to be listed.
|
DescribeEventsRequest.Builder |
eventCategories(Collection<String> eventCategories)
A list of event categories for a source type that you want to subscribe to.
|
DescribeEventsRequest.Builder |
eventCategories(String... eventCategories)
A list of event categories for a source type that you want to subscribe to.
|
DescribeEventsRequest.Builder |
filters(Collection<Filter> filters)
Filters applied to the action.
|
DescribeEventsRequest.Builder |
filters(Consumer<Filter.Builder>... filters)
Filters applied to the action.
|
DescribeEventsRequest.Builder |
filters(Filter... filters)
Filters applied to the action.
|
DescribeEventsRequest.Builder |
marker(String marker)
An optional pagination token provided by a previous request.
|
DescribeEventsRequest.Builder |
maxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeEventsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DescribeEventsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
DescribeEventsRequest.Builder |
sourceIdentifier(String sourceIdentifier)
The identifier of the event source.
|
DescribeEventsRequest.Builder |
sourceType(SourceType sourceType)
The type of AWS DMS resource that generates events.
|
DescribeEventsRequest.Builder |
sourceType(String sourceType)
The type of AWS DMS resource that generates events.
|
DescribeEventsRequest.Builder |
startTime(Instant startTime)
The start time for the events to be listed.
|
build
requestOverrideConfig
copy
apply, build
DescribeEventsRequest.Builder sourceIdentifier(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.DescribeEventsRequest.Builder sourceType(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
,
SourceType
DescribeEventsRequest.Builder sourceType(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
,
SourceType
DescribeEventsRequest.Builder startTime(Instant startTime)
The start time for the events to be listed.
startTime
- The start time for the events to be listed.DescribeEventsRequest.Builder endTime(Instant endTime)
The end time for the events to be listed.
endTime
- The end time for the events to be listed.DescribeEventsRequest.Builder duration(Integer duration)
The duration of the events to be listed.
duration
- The duration of the events to be listed.DescribeEventsRequest.Builder eventCategories(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.DescribeEventsRequest.Builder eventCategories(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.DescribeEventsRequest.Builder filters(Collection<Filter> filters)
Filters applied to the action.
filters
- Filters applied to the action.DescribeEventsRequest.Builder filters(Filter... filters)
Filters applied to the action.
filters
- Filters applied to the action.DescribeEventsRequest.Builder filters(Consumer<Filter.Builder>... filters)
Filters applied to the action.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
DescribeEventsRequest.Builder maxRecords(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.
DescribeEventsRequest.Builder marker(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
.DescribeEventsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.DescribeEventsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.