Interface PurchaseReservedDbInstancesOfferingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PurchaseReservedDbInstancesOfferingRequest.Builder,,PurchaseReservedDbInstancesOfferingRequest> RdsRequest.Builder,SdkBuilder<PurchaseReservedDbInstancesOfferingRequest.Builder,,PurchaseReservedDbInstancesOfferingRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PurchaseReservedDbInstancesOfferingRequest
public static interface PurchaseReservedDbInstancesOfferingRequest.Builder
extends RdsRequest.Builder, SdkPojo, CopyableBuilder<PurchaseReservedDbInstancesOfferingRequest.Builder,PurchaseReservedDbInstancesOfferingRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondbInstanceCount(Integer dbInstanceCount) The number of instances to reserve.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.reservedDBInstanceId(String reservedDBInstanceId) Customer-specified identifier to track this reservation.reservedDBInstancesOfferingId(String reservedDBInstancesOfferingId) The ID of the Reserved DB instance offering to purchase.tags(Collection<Tag> tags) Sets the value of the Tags property for this object.tags(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.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.rds.model.RdsRequest.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
-
reservedDBInstancesOfferingId
PurchaseReservedDbInstancesOfferingRequest.Builder reservedDBInstancesOfferingId(String reservedDBInstancesOfferingId) The ID of the Reserved DB instance offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
- Parameters:
reservedDBInstancesOfferingId- The ID of the Reserved DB instance offering to purchase.Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedDBInstanceId
PurchaseReservedDbInstancesOfferingRequest.Builder reservedDBInstanceId(String reservedDBInstanceId) Customer-specified identifier to track this reservation.
Example: myreservationID
- Parameters:
reservedDBInstanceId- Customer-specified identifier to track this reservation.Example: myreservationID
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceCount
The number of instances to reserve.
Default:
1- Parameters:
dbInstanceCount- The number of instances to reserve.Default:
1- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PurchaseReservedDbInstancesOfferingRequest.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
PurchaseReservedDbInstancesOfferingRequest.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.
-