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 ofSourceRegion
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.sourceRegions
(Consumer<SourceRegion.Builder>... sourceRegions) A list ofSourceRegion
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.sourceRegions
(SourceRegion... sourceRegions) A list ofSourceRegion
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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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
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 ofSourceRegion
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.- Parameters:
sourceRegions
- A list ofSourceRegion
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
This is a convenience method that creates an instance of theSourceRegion
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.SourceRegion.Builder
avoiding the need to create one manually viaSourceRegion.builder()
.When the
Consumer
completes,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:
-