Interface DescribeReservedDbInstancesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeReservedDbInstancesRequest.Builder,
,DescribeReservedDbInstancesRequest> RdsRequest.Builder
,SdkBuilder<DescribeReservedDbInstancesRequest.Builder,
,DescribeReservedDbInstancesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeReservedDbInstancesRequest
-
Method Summary
Modifier and TypeMethodDescriptiondbInstanceClass
(String dbInstanceClass) The DB instance class filter value.The duration filter value, specified in years or seconds.filters
(Collection<Filter> filters) This parameter isn't currently supported.filters
(Consumer<Filter.Builder>... filters) This parameter isn't currently supported.This parameter isn't currently supported.The lease identifier filter value.An optional pagination token provided by a previous request.maxRecords
(Integer maxRecords) The maximum number of records to include in the response.Specifies whether to show only those reservations that support Multi-AZ.offeringType
(String offeringType) The offering type filter value.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.productDescription
(String productDescription) The product description filter value.reservedDBInstanceId
(String reservedDBInstanceId) The reserved DB instance identifier filter value.reservedDBInstancesOfferingId
(String reservedDBInstancesOfferingId) The offering identifier filter value.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.rds.model.RdsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
reservedDBInstanceId
The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.
- Parameters:
reservedDBInstanceId
- The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedDBInstancesOfferingId
DescribeReservedDbInstancesRequest.Builder reservedDBInstancesOfferingId(String reservedDBInstancesOfferingId) The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
- Parameters:
reservedDBInstancesOfferingId
- The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceClass
The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.
- Parameters:
dbInstanceClass
- The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.
Valid Values:
1 | 3 | 31536000 | 94608000
- Parameters:
duration
- The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.Valid Values:
1 | 3 | 31536000 | 94608000
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productDescription
The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
- Parameters:
productDescription
- The product description filter value. Specify this parameter to show only those reservations matching the specified product description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringType
The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.
Valid Values:
"Partial Upfront" | "All Upfront" | "No Upfront"
- Parameters:
offeringType
- The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.Valid Values:
"Partial Upfront" | "All Upfront" | "No Upfront"
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiAZ
Specifies whether to show only those reservations that support Multi-AZ.
- Parameters:
multiAZ
- Specifies whether to show only those reservations that support Multi-AZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
leaseId
The lease identifier filter value. Specify this parameter to show only the reservation that matches the specified lease ID.
Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.
- Parameters:
leaseId
- The lease identifier filter value. Specify this parameter to show only the reservation that matches the specified lease ID.Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
This parameter isn't currently supported.
- Parameters:
filters
- This parameter isn't currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
This parameter isn't currently supported.
- Parameters:
filters
- This parameter isn't currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
This parameter isn't currently supported.
This is a convenience method that creates an instance of theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,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 than the
MaxRecords
value is available, a pagination token called a marker is included in the response so you can retrieve the remaining results.Default: 100
Constraints: Minimum 20, maximum 100.
- Parameters:
maxRecords
- The maximum number of records to include in the response. If more than theMaxRecords
value is available, a pagination token called a marker is included in the response so you can retrieve the remaining results.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
DescribeReservedDbInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeReservedDbInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-