@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.
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) |
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.
BillingMode
public 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.
BillingMode
public 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.
BillingMode
public 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.
BillingMode
public 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 Object
Object.toString()
public BillingModeSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.