CopyableBuilder<ReservedDBInstance.Builder,ReservedDBInstance>
, SdkBuilder<ReservedDBInstance.Builder,ReservedDBInstance>
public static interface ReservedDBInstance.Builder extends CopyableBuilder<ReservedDBInstance.Builder,ReservedDBInstance>
Modifier and Type | Method | 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 |
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(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(Date 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.
|
copy
apply, 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(Date 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.
NOTE: This method appends the values to the existing list (if any). Use
#setRecurringCharges(java.util.Collection)
or #withRecurringCharges(java.util.Collection)
if
you want to override the existing values.
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.
reservedDBInstanceArn
- The Amazon Resource Name (ARN) for the reserved DB instance.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.