public NodeGroupConfiguration withReplicaOutpostArns(String... replicaOutpostArns) {
        if (this.replicaOutpostArns == null) {
            setReplicaOutpostArns(new com.amazonaws.internal.SdkInternalList<String>(replicaOutpostArns.length));
        }
        for (String ele : replicaOutpostArns) {
            this.replicaOutpostArns.add(ele);
        }
        return this;
    }
<p>
The outpost ARN of the node replicas.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReplicaOutpostArns(java.util.Collection)} or {@link #withReplicaOutpostArns(java.util.Collection)} if
you want to override the existing values.
</p>

@param replicaOutpostArns
       The outpost ARN of the node replicas.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/NodeGroupConfiguration.java