public VolumeStatusInfo withDetails(VolumeStatusDetails... details) {
        if (this.details == null) {
            setDetails(new com.amazonaws.internal.SdkInternalList<VolumeStatusDetails>(details.length));
        }
        for (VolumeStatusDetails ele : details) {
            this.details.add(ele);
        }
        return this;
    }
<p>
The details of the volume status.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDetails(java.util.Collection)} or {@link #withDetails(java.util.Collection)} if you want to override
the existing values.
</p>

@param details
       The details of the volume status.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/VolumeStatusInfo.java