Interface DescribeEventsRequest.Builder

    • 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 is replication-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 is replication-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 replication-instance-id.

        This is a convenience method that creates an instance of the Filter.Builder avoiding the need to create one manually via Filter.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #filters(List).

        Parameters:
        filters - a consumer that will call methods on Filter.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 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 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.

        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 by MaxRecords .
        Returns:
        Returns a reference to this object so that method calls can be chained together.