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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSourceRegionsResponse.Builder
marker(String marker)
An optional pagination token provided by a previous request.DescribeSourceRegionsResponse.Builder
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.DescribeSourceRegionsResponse.Builder
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.DescribeSourceRegionsResponse.Builder
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
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 byMaxRecords
.- 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 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(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 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 to#sourceRegions(List
.) - 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:
#sourceRegions(java.util.Collection
)
-
-