/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.dynamodbv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Contains the details of the replica. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ReplicaDescription implements Serializable, Cloneable, StructuredPojo { /** *

* The name of the Region. *

*/ private String regionName; /** *

* The current state of the replica: *

* */ private String replicaStatus; /** *

* Detailed information about the replica status. *

*/ private String replicaStatusDescription; /** *

* Specifies the progress of a Create, Update, or Delete action on the replica as a percentage. *

*/ private String replicaStatusPercentProgress; /** *

* The KMS key of the replica that will be used for KMS encryption. *

*/ private String kMSMasterKeyId; /** *

* Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput * settings. *

*/ private ProvisionedThroughputOverride provisionedThroughputOverride; /** *

* Replica-specific global secondary index settings. *

*/ private java.util.List globalSecondaryIndexes; /** *

* The time at which the replica was first detected as inaccessible. To determine cause of inaccessibility check the * ReplicaStatus property. *

*/ private java.util.Date replicaInaccessibleDateTime; private TableClassSummary replicaTableClassSummary; /** *

* The name of the Region. *

* * @param regionName * The name of the Region. */ public void setRegionName(String regionName) { this.regionName = regionName; } /** *

* The name of the Region. *

* * @return The name of the Region. */ public String getRegionName() { return this.regionName; } /** *

* The name of the Region. *

* * @param regionName * The name of the Region. * @return Returns a reference to this object so that method calls can be chained together. */ public ReplicaDescription withRegionName(String regionName) { setRegionName(regionName); return this; } /** *

* The current state of the replica: *

* * * @param replicaStatus * The current state of the replica:

*