Interface DescribeDbInstancesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeDbInstancesRequest.Builder,,DescribeDbInstancesRequest> DocDbRequest.Builder,SdkBuilder<DescribeDbInstancesRequest.Builder,,DescribeDbInstancesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeDbInstancesRequest
-
Method Summary
Modifier and TypeMethodDescriptiondbInstanceIdentifier(String dbInstanceIdentifier) The user-provided instance identifier.filters(Collection<Filter> filters) A filter that specifies one or more instances to describe.filters(Consumer<Filter.Builder>... filters) A filter that specifies one or more instances to describe.A filter that specifies one or more instances to describe.An optional pagination token provided by a previous request.maxRecords(Integer maxRecords) The maximum number of records to include in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.docdb.model.DocDbRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dbInstanceIdentifier
The user-provided instance identifier. If this parameter is specified, information from only the specific instance is returned. This parameter isn't case sensitive.
Constraints:
-
If provided, must match the identifier of an existing
DBInstance.
- Parameters:
dbInstanceIdentifier- The user-provided instance identifier. If this parameter is specified, information from only the specific instance is returned. This parameter isn't case sensitive.Constraints:
-
If provided, must match the identifier of an existing
DBInstance.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
A filter that specifies one or more instances to describe.
Supported filters:
-
db-cluster-id- Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only the information about the instances that are associated with the clusters that are identified by these ARNs. -
db-instance-id- Accepts instance identifiers and instance ARNs. The results list includes only the information about the instances that are identified by these ARNs.
- Parameters:
filters- A filter that specifies one or more instances to describe.Supported filters:
-
db-cluster-id- Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only the information about the instances that are associated with the clusters that are identified by these ARNs. -
db-instance-id- Accepts instance identifiers and instance ARNs. The results list includes only the information about the instances that are identified by these ARNs.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
A filter that specifies one or more instances to describe.
Supported filters:
-
db-cluster-id- Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only the information about the instances that are associated with the clusters that are identified by these ARNs. -
db-instance-id- Accepts instance identifiers and instance ARNs. The results list includes only the information about the instances that are identified by these ARNs.
- Parameters:
filters- A filter that specifies one or more instances to describe.Supported filters:
-
db-cluster-id- Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only the information about the instances that are associated with the clusters that are identified by these ARNs. -
db-instance-id- Accepts instance identifiers and instance ARNs. The results list includes only the information about the instances that are identified by these ARNs.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
A filter that specifies one or more instances to describe.
Supported filters:
-
db-cluster-id- Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only the information about the instances that are associated with the clusters that are identified by these ARNs. -
db-instance-id- Accepts instance identifiers and instance ARNs. The results list includes only the information about the instances that are identified by these ARNs.
Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- 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:
-
-
maxRecords
The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a pagination token (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 (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
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.
-
overrideConfiguration
DescribeDbInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeDbInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-