@Generated(value="software.amazon.awssdk:codegen") public final class ReplicaSettingsDescription extends Object implements SdkPojo, Serializable, 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() |
String |
regionName()
The region name of the replica.
|
BillingModeSummary |
replicaBillingModeSummary()
The read/write capacity mode of the replica.
|
List<ReplicaGlobalSecondaryIndexSettingsDescription> |
replicaGlobalSecondaryIndexSettings()
Replica global secondary index settings for the global table.
|
AutoScalingSettingsDescription |
replicaProvisionedReadCapacityAutoScalingSettings()
Autoscaling settings for a global table replica's read capacity units.
|
Long |
replicaProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
AutoScalingSettingsDescription |
replicaProvisionedWriteCapacityAutoScalingSettings()
AutoScaling settings for a global table replica's write capacity units.
|
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:
|
List<SdkField<?>> |
sdkFields() |
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 BillingModeSummary replicaBillingModeSummary()
The read/write capacity mode of the replica.
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 AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings()
Autoscaling settings for a global table replica's read capacity units.
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 AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings()
AutoScaling settings for a global table replica's write capacity units.
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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.