public static interface ReservedDBInstance.Builder extends SdkPojo, CopyableBuilder<ReservedDBInstance.Builder,ReservedDBInstance>
Modifier and Type | Method and Description |
---|---|
ReservedDBInstance.Builder |
currencyCode(String currencyCode)
The currency code for the reserved DB instance.
|
ReservedDBInstance.Builder |
dbInstanceClass(String dbInstanceClass)
The DB instance class for the reserved DB instance.
|
ReservedDBInstance.Builder |
dbInstanceCount(Integer dbInstanceCount)
The number of reserved DB instances.
|
ReservedDBInstance.Builder |
duration(Integer duration)
The duration of the reservation in seconds.
|
ReservedDBInstance.Builder |
fixedPrice(Double fixedPrice)
The fixed price charged for this reserved DB instance.
|
ReservedDBInstance.Builder |
leaseId(String leaseId)
The unique identifier for the lease associated with the reserved DB instance.
|
ReservedDBInstance.Builder |
multiAZ(Boolean multiAZ)
Indicates if the reservation applies to Multi-AZ deployments.
|
ReservedDBInstance.Builder |
offeringType(String offeringType)
The offering type of this reserved DB instance.
|
ReservedDBInstance.Builder |
productDescription(String productDescription)
The description of the reserved DB instance.
|
ReservedDBInstance.Builder |
recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB instance.
|
ReservedDBInstance.Builder |
recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring price charged to run this reserved DB instance.
|
ReservedDBInstance.Builder |
recurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved DB instance.
|
ReservedDBInstance.Builder |
reservedDBInstanceArn(String reservedDBInstanceArn)
The Amazon Resource Name (ARN) for the reserved DB instance.
|
ReservedDBInstance.Builder |
reservedDBInstanceId(String reservedDBInstanceId)
The unique identifier for the reservation.
|
ReservedDBInstance.Builder |
reservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier.
|
ReservedDBInstance.Builder |
startTime(Instant startTime)
The time the reservation started.
|
ReservedDBInstance.Builder |
state(String state)
The state of the reserved DB instance.
|
ReservedDBInstance.Builder |
usagePrice(Double usagePrice)
The hourly price charged for this reserved DB instance.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ReservedDBInstance.Builder reservedDBInstanceId(String reservedDBInstanceId)
The unique identifier for the reservation.
reservedDBInstanceId
- The unique identifier for the reservation.ReservedDBInstance.Builder reservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier.
reservedDBInstancesOfferingId
- The offering identifier.ReservedDBInstance.Builder dbInstanceClass(String dbInstanceClass)
The DB instance class for the reserved DB instance.
dbInstanceClass
- The DB instance class for the reserved DB instance.ReservedDBInstance.Builder startTime(Instant startTime)
The time the reservation started.
startTime
- The time the reservation started.ReservedDBInstance.Builder duration(Integer duration)
The duration of the reservation in seconds.
duration
- The duration of the reservation in seconds.ReservedDBInstance.Builder fixedPrice(Double fixedPrice)
The fixed price charged for this reserved DB instance.
fixedPrice
- The fixed price charged for this reserved DB instance.ReservedDBInstance.Builder usagePrice(Double usagePrice)
The hourly price charged for this reserved DB instance.
usagePrice
- The hourly price charged for this reserved DB instance.ReservedDBInstance.Builder currencyCode(String currencyCode)
The currency code for the reserved DB instance.
currencyCode
- The currency code for the reserved DB instance.ReservedDBInstance.Builder dbInstanceCount(Integer dbInstanceCount)
The number of reserved DB instances.
dbInstanceCount
- The number of reserved DB instances.ReservedDBInstance.Builder productDescription(String productDescription)
The description of the reserved DB instance.
productDescription
- The description of the reserved DB instance.ReservedDBInstance.Builder offeringType(String offeringType)
The offering type of this reserved DB instance.
offeringType
- The offering type of this reserved DB instance.ReservedDBInstance.Builder multiAZ(Boolean multiAZ)
Indicates if the reservation applies to Multi-AZ deployments.
multiAZ
- Indicates if the reservation applies to Multi-AZ deployments.ReservedDBInstance.Builder state(String state)
The state of the reserved DB instance.
state
- The state of the reserved DB instance.ReservedDBInstance.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved DB instance.
recurringCharges
- The recurring price charged to run this reserved DB instance.ReservedDBInstance.Builder recurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved DB instance.
recurringCharges
- The recurring price charged to run this reserved DB instance.ReservedDBInstance.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)
The recurring price charged to run this reserved DB instance.
This is a convenience method that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #recurringCharges(List)
.recurringCharges
- a consumer that will call methods on List.Builder
#recurringCharges(List)
ReservedDBInstance.Builder reservedDBInstanceArn(String reservedDBInstanceArn)
The Amazon Resource Name (ARN) for the reserved DB instance.
reservedDBInstanceArn
- The Amazon Resource Name (ARN) for the reserved DB instance.ReservedDBInstance.Builder leaseId(String leaseId)
The unique identifier for the lease associated with the reserved DB instance.
Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.
leaseId
- The unique identifier for the lease associated with the reserved DB instance. Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.
Copyright © 2022. All rights reserved.