public AwsEcsContainerDetails withMountPoints(AwsMountPoint... mountPoints) {
        if (this.mountPoints == null) {
            setMountPoints(new java.util.ArrayList<AwsMountPoint>(mountPoints.length));
        }
        for (AwsMountPoint ele : mountPoints) {
            this.mountPoints.add(ele);
        }
        return this;
    }
<p>
The mount points for data volumes in your container.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMountPoints(java.util.Collection)} or {@link #withMountPoints(java.util.Collection)} if you want to
override the existing values.
</p>

@param mountPoints
       The mount points for data volumes in your container.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsContainerDetails.java