public RestoreTableRequest withReplicaSpecifications(ReplicaSpecification... replicaSpecifications) {
        if (this.replicaSpecifications == null) {
            setReplicaSpecifications(new java.util.ArrayList<ReplicaSpecification>(replicaSpecifications.length));
        }
        for (ReplicaSpecification ele : replicaSpecifications) {
            this.replicaSpecifications.add(ele);
        }
        return this;
    }
<p>
The optional Region specific settings of a multi-Regional table.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReplicaSpecifications(java.util.Collection)} or
{@link #withReplicaSpecifications(java.util.Collection)} if you want to override the existing values.
</p>

@param replicaSpecifications
       The optional Region specific settings of a multi-Regional table.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-keyspaces/src/main/java/com/amazonaws/services/keyspaces/model/RestoreTableRequest.java