public UpdateReplicationConfigurationResult withReplicatedDisks(ReplicationConfigurationReplicatedDisk... replicatedDisks) {
        if (this.replicatedDisks == null) {
            setReplicatedDisks(new java.util.ArrayList<ReplicationConfigurationReplicatedDisk>(replicatedDisks.length));
        }
        for (ReplicationConfigurationReplicatedDisk ele : replicatedDisks) {
            this.replicatedDisks.add(ele);
        }
        return this;
    }
<p>
The configuration of the disks of the Source Server to be replicated.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setReplicatedDisks(java.util.Collection)} or {@link #withReplicatedDisks(java.util.Collection)} if you
want to override the existing values.
</p>

@param replicatedDisks
       The configuration of the disks of the Source Server to be replicated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-drs/src/main/java/com/amazonaws/services/drs/model/UpdateReplicationConfigurationResult.java