public UpdateKxVolumeResult withAttachedClusters(KxAttachedCluster... attachedClusters) {
        if (this.attachedClusters == null) {
            setAttachedClusters(new java.util.ArrayList<KxAttachedCluster>(attachedClusters.length));
        }
        for (KxAttachedCluster ele : attachedClusters) {
            this.attachedClusters.add(ele);
        }
        return this;
    }
<p>
Specifies the clusters that a volume is attached to.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAttachedClusters(java.util.Collection)} or {@link #withAttachedClusters(java.util.Collection)} if you
want to override the existing values.
</p>

@param attachedClusters
       Specifies the clusters that a volume is attached to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/UpdateKxVolumeResult.java