public DescribeTargetHealthRequest withTargets(TargetDescription... targets) {
        if (this.targets == null) {
            setTargets(new java.util.ArrayList<TargetDescription>(targets.length));
        }
        for (TargetDescription ele : targets) {
            this.targets.add(ele);
        }
        return this;
    }
public DescribeTargetHealthRequest withTargets ( TargetDescription ... targets ) { if ( this . targets == null ) { setTargets ( new java . util . ArrayList < TargetDescription > ( targets . length ) ) ; } for ( TargetDescription ele : targets ) { this . targets . add ( ele ) ; } return this ; }
<p>
The targets.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTargets(java.util.Collection)} or {@link #withTargets(java.util.Collection)} if you want to override
the existing values.
</p>

@param targets
The targets.
@return Returns a reference to this object so that method calls can be chained together.