ToCopyableBuilder<ReservedDBInstance.Builder,ReservedDBInstance>
@Generated("software.amazon.awssdk:codegen") public class ReservedDBInstance extends Object implements ToCopyableBuilder<ReservedDBInstance.Builder,ReservedDBInstance>
This data type is used as a response element in the DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering actions.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ReservedDBInstance.Builder |
Modifier and Type | Method | Description |
---|---|---|
static ReservedDBInstance.Builder |
builder() |
|
String |
currencyCode() |
The currency code for the reserved DB instance.
|
String |
dbInstanceClass() |
The DB instance class for the reserved DB instance.
|
Integer |
dbInstanceCount() |
The number of reserved DB instances.
|
Integer |
duration() |
The duration of the reservation in seconds.
|
boolean |
equals(Object obj) |
|
Double |
fixedPrice() |
The fixed price charged for this reserved DB instance.
|
int |
hashCode() |
|
Boolean |
multiAZ() |
Indicates if the reservation applies to Multi-AZ deployments.
|
String |
offeringType() |
The offering type of this reserved DB instance.
|
String |
productDescription() |
The description of the reserved DB instance.
|
List<RecurringCharge> |
recurringCharges() |
The recurring price charged to run this reserved DB instance.
|
String |
reservedDBInstanceArn() |
The Amazon Resource Name (ARN) for the reserved DB instance.
|
String |
reservedDBInstanceId() |
The unique identifier for the reservation.
|
String |
reservedDBInstancesOfferingId() |
The offering identifier.
|
static Class<? extends ReservedDBInstance.Builder> |
serializableBuilderClass() |
|
Date |
startTime() |
The time the reservation started.
|
String |
state() |
The state of the reserved DB instance.
|
ReservedDBInstance.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
Double |
usagePrice() |
The hourly price charged for this reserved DB instance.
|
public String reservedDBInstanceId()
The unique identifier for the reservation.
public String reservedDBInstancesOfferingId()
The offering identifier.
public String dbInstanceClass()
The DB instance class for the reserved DB instance.
public Date startTime()
The time the reservation started.
public Integer duration()
The duration of the reservation in seconds.
public Double fixedPrice()
The fixed price charged for this reserved DB instance.
public Double usagePrice()
The hourly price charged for this reserved DB instance.
public String currencyCode()
The currency code for the reserved DB instance.
public Integer dbInstanceCount()
The number of reserved DB instances.
public String productDescription()
The description of the reserved DB instance.
public String offeringType()
The offering type of this reserved DB instance.
public Boolean multiAZ()
Indicates if the reservation applies to Multi-AZ deployments.
public String state()
The state of the reserved DB instance.
public List<RecurringCharge> recurringCharges()
The recurring price charged to run this reserved DB instance.
public String reservedDBInstanceArn()
The Amazon Resource Name (ARN) for the reserved DB instance.
public ReservedDBInstance.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReservedDBInstance.Builder,ReservedDBInstance>
public static ReservedDBInstance.Builder builder()
public static Class<? extends ReservedDBInstance.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.