Interface DescribeSourceRegionsResponse.Builder

    • Method Detail

      • marker

        DescribeSourceRegionsResponse.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.
      • sourceRegions

        DescribeSourceRegionsResponse.Builder sourceRegions​(Collection<SourceRegion> sourceRegions)

        A list of SourceRegion instances that contains each source Amazon Web Services Region that the current Amazon Web Services Region can get a read replica or a DB snapshot from.

        Parameters:
        sourceRegions - A list of SourceRegion instances that contains each source Amazon Web Services Region that the current Amazon Web Services Region can get a read replica or a DB snapshot from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceRegions

        DescribeSourceRegionsResponse.Builder sourceRegions​(SourceRegion... sourceRegions)

        A list of SourceRegion instances that contains each source Amazon Web Services Region that the current Amazon Web Services Region can get a read replica or a DB snapshot from.

        Parameters:
        sourceRegions - A list of SourceRegion instances that contains each source Amazon Web Services Region that the current Amazon Web Services Region can get a read replica or a DB snapshot from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceRegions

        DescribeSourceRegionsResponse.Builder sourceRegions​(Consumer<SourceRegion.Builder>... sourceRegions)

        A list of SourceRegion instances that contains each source Amazon Web Services Region that the current Amazon Web Services Region can get a read replica or a DB snapshot from.

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

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

        Parameters:
        sourceRegions - a consumer that will call methods on SourceRegion.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #sourceRegions(java.util.Collection)