Interface DescribeDbInstancesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeDbInstancesRequest.Builder,DescribeDbInstancesRequest>,NeptuneRequest.Builder,SdkBuilder<DescribeDbInstancesRequest.Builder,DescribeDbInstancesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeDbInstancesRequest
public static interface DescribeDbInstancesRequest.Builder extends NeptuneRequest.Builder, SdkPojo, CopyableBuilder<DescribeDbInstancesRequest.Builder,DescribeDbInstancesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeDbInstancesRequest.BuilderdbInstanceIdentifier(String dbInstanceIdentifier)The user-supplied instance identifier.DescribeDbInstancesRequest.Builderfilters(Collection<Filter> filters)A filter that specifies one or more DB instances to describe.DescribeDbInstancesRequest.Builderfilters(Consumer<Filter.Builder>... filters)A filter that specifies one or more DB instances to describe.DescribeDbInstancesRequest.Builderfilters(Filter... filters)A filter that specifies one or more DB instances to describe.DescribeDbInstancesRequest.Buildermarker(String marker)An optional pagination token provided by a previousDescribeDBInstancesrequest.DescribeDbInstancesRequest.BuildermaxRecords(Integer maxRecords)The maximum number of records to include in the response.DescribeDbInstancesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeDbInstancesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.neptune.model.NeptuneRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dbInstanceIdentifier
DescribeDbInstancesRequest.Builder dbInstanceIdentifier(String dbInstanceIdentifier)
The user-supplied instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.
Constraints:
-
If supplied, must match the identifier of an existing DBInstance.
- Parameters:
dbInstanceIdentifier- The user-supplied instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.Constraints:
-
If supplied, must match the identifier of an existing DBInstance.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
DescribeDbInstancesRequest.Builder filters(Collection<Filter> filters)
A filter that specifies one or more DB instances to describe.
Supported filters:
-
db-cluster-id- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB clusters identified by these ARNs. -
engine- Accepts an engine name (such asneptune), and restricts the results list to DB instances created by that engine.
For example, to invoke this API from the Amazon CLI and filter so that only Neptune DB instances are returned, you could use the following command:
- Parameters:
filters- A filter that specifies one or more DB instances to describe.Supported filters:
-
db-cluster-id- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB clusters identified by these ARNs. -
engine- Accepts an engine name (such asneptune), and restricts the results list to DB instances created by that engine.
For example, to invoke this API from the Amazon CLI and filter so that only Neptune DB instances are returned, you could use the following command:
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
DescribeDbInstancesRequest.Builder filters(Filter... filters)
A filter that specifies one or more DB instances to describe.
Supported filters:
-
db-cluster-id- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB clusters identified by these ARNs. -
engine- Accepts an engine name (such asneptune), and restricts the results list to DB instances created by that engine.
For example, to invoke this API from the Amazon CLI and filter so that only Neptune DB instances are returned, you could use the following command:
- Parameters:
filters- A filter that specifies one or more DB instances to describe.Supported filters:
-
db-cluster-id- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB clusters identified by these ARNs. -
engine- Accepts an engine name (such asneptune), and restricts the results list to DB instances created by that engine.
For example, to invoke this API from the Amazon CLI and filter so that only Neptune DB instances are returned, you could use the following command:
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
DescribeDbInstancesRequest.Builder filters(Consumer<Filter.Builder>... filters)
A filter that specifies one or more DB instances to describe.
Supported filters:
-
db-cluster-id- Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB clusters identified by these ARNs. -
engine- Accepts an engine name (such asneptune), and restricts the results list to DB instances created by that engine.
For example, to invoke this API from the Amazon CLI and filter so that only Neptune DB instances are returned, you could use the following command:
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
-
maxRecords
DescribeDbInstancesRequest.Builder maxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
- Parameters:
maxRecords- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecordsvalue, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
DescribeDbInstancesRequest.Builder marker(String marker)
An optional pagination token provided by a previous
DescribeDBInstancesrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.- Parameters:
marker- An optional pagination token provided by a previousDescribeDBInstancesrequest. 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.
-
overrideConfiguration
DescribeDbInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeDbInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-