@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BillingModeSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains the details for the read/write capacity mode. This page talks about PROVISIONED and
PAY_PER_REQUEST billing modes. For more information about these modes, see Read/write capacity mode.
You may need to switch to on-demand mode at least once in order to return a BillingModeSummary response.
| Constructor and Description |
|---|
BillingModeSummary() |
| Modifier and Type | Method and Description |
|---|---|
BillingModeSummary |
clone() |
boolean |
equals(Object obj) |
String |
getBillingMode()
Controls how you are charged for read and write throughput and how you manage capacity.
|
Date |
getLastUpdateToPayPerRequestDateTime()
Represents the time when
PAY_PER_REQUEST was last set as the read/write capacity mode. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBillingMode(String billingMode)
Controls how you are charged for read and write throughput and how you manage capacity.
|
void |
setLastUpdateToPayPerRequestDateTime(Date lastUpdateToPayPerRequestDateTime)
Represents the time when
PAY_PER_REQUEST was last set as the read/write capacity mode. |
String |
toString()
Returns a string representation of this object.
|
BillingModeSummary |
withBillingMode(BillingMode billingMode)
Controls how you are charged for read and write throughput and how you manage capacity.
|
BillingModeSummary |
withBillingMode(String billingMode)
Controls how you are charged for read and write throughput and how you manage capacity.
|
BillingModeSummary |
withLastUpdateToPayPerRequestDateTime(Date lastUpdateToPayPerRequestDateTime)
Represents the time when
PAY_PER_REQUEST was last set as the read/write capacity mode. |
public void setBillingMode(String billingMode)
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using
PROVISIONED for predictable workloads.
PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend
using PAY_PER_REQUEST for unpredictable workloads.
billingMode - Controls how you are charged for read and write throughput and how you manage capacity. This setting can
be changed later.
PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend
using PROVISIONED for predictable workloads.
PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We
recommend using PAY_PER_REQUEST for unpredictable workloads.
BillingModepublic String getBillingMode()
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using
PROVISIONED for predictable workloads.
PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend
using PAY_PER_REQUEST for unpredictable workloads.
PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend
using PROVISIONED for predictable workloads.
PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We
recommend using PAY_PER_REQUEST for unpredictable workloads.
BillingModepublic BillingModeSummary withBillingMode(String billingMode)
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using
PROVISIONED for predictable workloads.
PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend
using PAY_PER_REQUEST for unpredictable workloads.
billingMode - Controls how you are charged for read and write throughput and how you manage capacity. This setting can
be changed later.
PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend
using PROVISIONED for predictable workloads.
PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We
recommend using PAY_PER_REQUEST for unpredictable workloads.
BillingModepublic BillingModeSummary withBillingMode(BillingMode billingMode)
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using
PROVISIONED for predictable workloads.
PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend
using PAY_PER_REQUEST for unpredictable workloads.
billingMode - Controls how you are charged for read and write throughput and how you manage capacity. This setting can
be changed later.
PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend
using PROVISIONED for predictable workloads.
PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We
recommend using PAY_PER_REQUEST for unpredictable workloads.
BillingModepublic void setLastUpdateToPayPerRequestDateTime(Date lastUpdateToPayPerRequestDateTime)
Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.
lastUpdateToPayPerRequestDateTime - Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.public Date getLastUpdateToPayPerRequestDateTime()
Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.
PAY_PER_REQUEST was last set as the read/write capacity mode.public BillingModeSummary withLastUpdateToPayPerRequestDateTime(Date lastUpdateToPayPerRequestDateTime)
Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.
lastUpdateToPayPerRequestDateTime - Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.public String toString()
toString in class ObjectObject.toString()public BillingModeSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.