@Generated(value="software.amazon.awssdk:codegen") public final class SourceTableDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceTableDetails.Builder,SourceTableDetails>
Contains the details of the table when the backup was created.
Modifier and Type | Class and Description |
---|---|
static interface |
SourceTableDetails.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 SourceTableDetails.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
itemCount()
Number of items in the table.
|
List<KeySchemaElement> |
keySchema()
Schema of the table.
|
ProvisionedThroughput |
provisionedThroughput()
Read IOPs and Write IOPS on the table when the backup was created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceTableDetails.Builder> |
serializableBuilderClass() |
String |
tableArn()
ARN of the table for which backup was created.
|
Instant |
tableCreationDateTime()
Time when the source table was created.
|
String |
tableId()
Unique identifier for the table for which the backup was created.
|
String |
tableName()
The name of the table for which the backup was created.
|
Long |
tableSizeBytes()
Size of the table in bytes.
|
SourceTableDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String tableName()
The name of the table for which the backup was created.
public String tableId()
Unique identifier for the table for which the backup was created.
public String tableArn()
ARN of the table for which backup was created.
public Long tableSizeBytes()
Size of the table in bytes. Please note this is an approximate value.
public List<KeySchemaElement> keySchema()
Schema of the table.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant tableCreationDateTime()
Time when the source table was created.
public ProvisionedThroughput provisionedThroughput()
Read IOPs and Write IOPS on the table when the backup was created.
public Long itemCount()
Number of items in the table. Please note this is an approximate value.
public 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 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 SourceTableDetails.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SourceTableDetails.Builder,SourceTableDetails>
public static SourceTableDetails.Builder builder()
public static Class<? extends SourceTableDetails.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.