Interface DescribeDbInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDbInstancesResponse.Builder,
,DescribeDbInstancesResponse> NeptuneResponse.Builder
,SdkBuilder<DescribeDbInstancesResponse.Builder,
,DescribeDbInstancesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDbInstancesResponse
public static interface DescribeDbInstancesResponse.Builder
extends NeptuneResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbInstancesResponse.Builder,DescribeDbInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbInstances
(Collection<DBInstance> dbInstances) A list of DBInstance instances.dbInstances
(Consumer<DBInstance.Builder>... dbInstances) A list of DBInstance instances.dbInstances
(DBInstance... dbInstances) A list of DBInstance instances.An optional pagination token provided by a previous request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.neptune.model.NeptuneResponse.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.
-
dbInstances
A list of DBInstance instances.
- Parameters:
dbInstances
- A list of DBInstance instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstances
A list of DBInstance instances.
- Parameters:
dbInstances
- A list of DBInstance instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstances
A list of DBInstance instances.
This is a convenience method that creates an instance of theDBInstance.Builder
avoiding the need to create one manually viaDBInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbInstances(List<DBInstance>)
.- Parameters:
dbInstances
- a consumer that will call methods onDBInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-