@Generated(value="software.amazon.awssdk:codegen") public final class BillingModeSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BillingModeSummary.Builder,BillingModeSummary>
Contains the details for the read/write capacity mode.
Modifier and Type | Class and Description |
---|---|
static interface |
BillingModeSummary.Builder |
Modifier and Type | Method and Description |
---|---|
BillingMode |
billingMode()
Controls how you are charged for read and write throughput and how you manage capacity.
|
String |
billingModeAsString()
Controls how you are charged for read and write throughput and how you manage capacity.
|
static BillingModeSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdateToPayPerRequestDateTime()
Represents the time when
PAY_PER_REQUEST was last set as the read/write capacity mode. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BillingModeSummary.Builder> |
serializableBuilderClass() |
BillingModeSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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.
If the service returns an enum value that is not available in the current SDK version, billingMode
will
return BillingMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
billingModeAsString()
.
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 final String billingModeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, billingMode
will
return BillingMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
billingModeAsString()
.
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 final Instant lastUpdateToPayPerRequestDateTime()
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.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<BillingModeSummary.Builder,BillingModeSummary>
public static BillingModeSummary.Builder builder()
public static Class<? extends BillingModeSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.