Interface DescribeSourceRegionsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSourceRegionsResponse.Builder,,DescribeSourceRegionsResponse> RdsResponse.Builder,SdkBuilder<DescribeSourceRegionsResponse.Builder,,DescribeSourceRegionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 DescribeSourceRegionsResponse
- 
Method Summary
Modifier and TypeMethodDescriptionAn optional pagination token provided by a previous request.sourceRegions(Collection<SourceRegion> sourceRegions) A list ofSourceRegioninstances 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.sourceRegions(Consumer<SourceRegion.Builder>... sourceRegions) A list ofSourceRegioninstances 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.sourceRegions(SourceRegion... sourceRegions) A list ofSourceRegioninstances 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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
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 byMaxRecords.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
sourceRegions
A list of
SourceRegioninstances 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 ofSourceRegioninstances 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
SourceRegioninstances 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 ofSourceRegioninstances 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
This is a convenience method that creates an instance of theSourceRegioninstances 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.SourceRegion.Builderavoiding the need to create one manually viaSourceRegion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceRegions(List<SourceRegion>).- Parameters:
 sourceRegions- a consumer that will call methods onSourceRegion.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -