Interface DescribeEventsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>,DatabaseMigrationRequest.Builder,SdkBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeEventsRequest
public static interface DescribeEventsRequest.Builder extends DatabaseMigrationRequest.Builder, SdkPojo, CopyableBuilder<DescribeEventsRequest.Builder,DescribeEventsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeEventsRequest.Builderduration(Integer duration)The duration of the events to be listed.DescribeEventsRequest.BuilderendTime(Instant endTime)The end time for the events to be listed.DescribeEventsRequest.BuildereventCategories(String... eventCategories)A list of event categories for the source type that you've chosen.DescribeEventsRequest.BuildereventCategories(Collection<String> eventCategories)A list of event categories for the source type that you've chosen.DescribeEventsRequest.Builderfilters(Collection<Filter> filters)Filters applied to events.DescribeEventsRequest.Builderfilters(Consumer<Filter.Builder>... filters)Filters applied to events.DescribeEventsRequest.Builderfilters(Filter... filters)Filters applied to events.DescribeEventsRequest.Buildermarker(String marker)An optional pagination token provided by a previous request.DescribeEventsRequest.BuildermaxRecords(Integer maxRecords)The maximum number of records to include in the response.DescribeEventsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeEventsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribeEventsRequest.BuildersourceIdentifier(String sourceIdentifier)The identifier of an event source.DescribeEventsRequest.BuildersourceType(String sourceType)The type of DMS resource that generates events.DescribeEventsRequest.BuildersourceType(SourceType sourceType)The type of DMS resource that generates events.DescribeEventsRequest.BuilderstartTime(Instant startTime)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, sdkFields
-
-
-
-
Method Detail
-
sourceIdentifier
DescribeEventsRequest.Builder sourceIdentifier(String 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
DescribeEventsRequest.Builder sourceType(String 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,SourceType
-
sourceType
DescribeEventsRequest.Builder sourceType(SourceType 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,SourceType
-
startTime
DescribeEventsRequest.Builder startTime(Instant 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
DescribeEventsRequest.Builder endTime(Instant 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
DescribeEventsRequest.Builder duration(Integer 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
DescribeEventsRequest.Builder eventCategories(Collection<String> 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
DescribeEventsRequest.Builder eventCategories(String... 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
DescribeEventsRequest.Builder filters(Collection<Filter> 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
DescribeEventsRequest.Builder filters(Filter... 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
DescribeEventsRequest.Builder filters(Consumer<Filter.Builder>... filters)
Filters applied to events. The only valid filter is
This is a convenience method that creates an instance of thereplication-instance-id.Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - 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:
#filters(java.util.Collection)
-
maxRecords
DescribeEventsRequest.Builder maxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, 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 specifiedMaxRecordsvalue, 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
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.- 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-