Interface DescribeEventsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeEventsRequest.Builder,
,DescribeEventsRequest> DatabaseMigrationRequest.Builder
,SdkBuilder<DescribeEventsRequest.Builder,
,DescribeEventsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeEventsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe duration of the events to be listed.The end time for the events to be listed.eventCategories
(String... eventCategories) A list of event categories for the source type that you've chosen.eventCategories
(Collection<String> eventCategories) A list of event categories for the source type that you've chosen.filters
(Collection<Filter> filters) Filters applied to events.filters
(Consumer<Filter.Builder>... filters) Filters applied to events.Filters applied to events.An optional pagination token provided by a previous request.maxRecords
(Integer maxRecords) The maximum number of records to include in the response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceIdentifier
(String sourceIdentifier) The identifier of an event source.sourceType
(String sourceType) The type of DMS resource that generates events.sourceType
(SourceType sourceType) The type of DMS resource that generates events.The start time for the events to be listed.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sourceIdentifier
The identifier of an event source.
- Parameters:
sourceIdentifier
- The identifier of an event source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
- Parameters:
sourceType
- The type of DMS resource that generates events.Valid values: replication-instance | replication-task
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
- Parameters:
sourceType
- The type of DMS resource that generates events.Valid values: replication-instance | replication-task
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The start time for the events to be listed.
- Parameters:
startTime
- The start time for the events to be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time for the events to be listed.
- Parameters:
endTime
- The end time for the events to be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
The duration of the events to be listed.
- Parameters:
duration
- The duration of the events to be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategories
A list of event categories for the source type that you've chosen.
- Parameters:
eventCategories
- A list of event categories for the source type that you've chosen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategories
A list of event categories for the source type that you've chosen.
- Parameters:
eventCategories
- A list of event categories for the source type that you've chosen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters applied to events. The only valid filter is
replication-instance-id
.- Parameters:
filters
- Filters applied to events. The only valid filter isreplication-instance-id
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters applied to events. The only valid filter is
replication-instance-id
.- Parameters:
filters
- Filters applied to events. The only valid filter isreplication-instance-id
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters applied to events. The only valid filter is
This is a convenience method that creates an instance of thereplication-instance-id
.Filter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
maxRecords
- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecords
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
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 byMaxRecords
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-