@Generated(value="software.amazon.awssdk:codegen") public final class ReplicaSettingsDescription extends Object implements StructuredPojo, ToCopyableBuilder<ReplicaSettingsDescription.Builder,ReplicaSettingsDescription>
Represents the properties of a replica.
Modifier and Type | Class and Description |
---|---|
static interface |
ReplicaSettingsDescription.Builder |
Modifier and Type | Method and Description |
---|---|
static ReplicaSettingsDescription.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
regionName()
The region name of the replica.
|
List<ReplicaGlobalSecondaryIndexSettingsDescription> |
replicaGlobalSecondaryIndexSettings()
Replica global secondary index settings for the global table.
|
Long |
replicaProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
Long |
replicaProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
ReplicaStatus |
replicaStatus()
The current state of the region:
|
String |
replicaStatusAsString()
The current state of the region:
|
static Class<? extends ReplicaSettingsDescription.Builder> |
serializableBuilderClass() |
ReplicaSettingsDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String regionName()
The region name of the replica.
public ReplicaStatus replicaStatus()
The current state of the region:
CREATING
- The region is being created.
UPDATING
- The region is being updated.
DELETING
- The region is being deleted.
ACTIVE
- The region is ready for use.
If the service returns an enum value that is not available in the current SDK version, replicaStatus
will return ReplicaStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
replicaStatusAsString()
.
CREATING
- The region is being created.
UPDATING
- The region is being updated.
DELETING
- The region is being deleted.
ACTIVE
- The region is ready for use.
ReplicaStatus
public String replicaStatusAsString()
The current state of the region:
CREATING
- The region is being created.
UPDATING
- The region is being updated.
DELETING
- The region is being deleted.
ACTIVE
- The region is ready for use.
If the service returns an enum value that is not available in the current SDK version, replicaStatus
will return ReplicaStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
replicaStatusAsString()
.
CREATING
- The region is being created.
UPDATING
- The region is being updated.
DELETING
- The region is being deleted.
ACTIVE
- The region is ready for use.
ReplicaStatus
public Long replicaProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.public Long replicaProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
. For
more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.public List<ReplicaGlobalSecondaryIndexSettingsDescription> replicaGlobalSecondaryIndexSettings()
Replica global secondary index settings for the global table.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ReplicaSettingsDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReplicaSettingsDescription.Builder,ReplicaSettingsDescription>
public static ReplicaSettingsDescription.Builder builder()
public static Class<? extends ReplicaSettingsDescription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.