Interface DBCapacityReservationCommitmentInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DBCapacityReservationCommitmentInfo.Builder,,DBCapacityReservationCommitmentInfo> SdkBuilder<DBCapacityReservationCommitmentInfo.Builder,,DBCapacityReservationCommitmentInfo> SdkPojo
- Enclosing class:
DBCapacityReservationCommitmentInfo
@Mutable
@NotThreadSafe
public static interface DBCapacityReservationCommitmentInfo.Builder
extends SdkPojo, CopyableBuilder<DBCapacityReservationCommitmentInfo.Builder,DBCapacityReservationCommitmentInfo>
-
Method Summary
Modifier and TypeMethodDescriptioncommitmentEndDate(Instant commitmentEndDate) The date and time when the commitment ends, in Universal Coordinated Time (UTC).committedCapacityPerAvailabilityZone(Integer committedCapacityPerAvailabilityZone) The number of DB instances that Amazon RDS holds in each Availability Zone of the reservation for the length of the commitment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
committedCapacityPerAvailabilityZone
DBCapacityReservationCommitmentInfo.Builder committedCapacityPerAvailabilityZone(Integer committedCapacityPerAvailabilityZone) The number of DB instances that Amazon RDS holds in each Availability Zone of the reservation for the length of the commitment.
- Parameters:
committedCapacityPerAvailabilityZone- The number of DB instances that Amazon RDS holds in each Availability Zone of the reservation for the length of the commitment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentEndDate
The date and time when the commitment ends, in Universal Coordinated Time (UTC). This date reports the capacity commitment that Amazon RDS granted.
Amazon RDS can grant a shorter capacity commitment than you request in
CommitmentDuration. Therefore, this date can fall earlier thanStartDateplusCommitmentDuration.- Parameters:
commitmentEndDate- The date and time when the commitment ends, in Universal Coordinated Time (UTC). This date reports the capacity commitment that Amazon RDS granted.Amazon RDS can grant a shorter capacity commitment than you request in
CommitmentDuration. Therefore, this date can fall earlier thanStartDateplusCommitmentDuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-