Interface DescribeSourceRegionsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeSourceRegionsResponse.Builder,DescribeSourceRegionsResponse>, RdsResponse.Builder, SdkBuilder<DescribeSourceRegionsResponse.Builder,DescribeSourceRegionsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeSourceRegionsResponse

public static interface DescribeSourceRegionsResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeSourceRegionsResponse.Builder,DescribeSourceRegionsResponse>
  • Method Details

    • 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

      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

      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<SourceRegion>).

      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: