public GlobalReplicationGroup withMembers(GlobalReplicationGroupMember... members) {
        if (this.members == null) {
            setMembers(new com.amazonaws.internal.SdkInternalList<GlobalReplicationGroupMember>(members.length));
        }
        for (GlobalReplicationGroupMember ele : members) {
            this.members.add(ele);
        }
        return this;
    }
<p>
The replication groups that comprise the Global datastore.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMembers(java.util.Collection)} or {@link #withMembers(java.util.Collection)} if you want to override
the existing values.
</p>

@param members
       The replication groups that comprise the Global datastore.
@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/GlobalReplicationGroup.java