public ListTargetResourceTypesResult withTargetResourceTypes(TargetResourceTypeSummary... targetResourceTypes) {
        if (this.targetResourceTypes == null) {
            setTargetResourceTypes(new java.util.ArrayList<TargetResourceTypeSummary>(targetResourceTypes.length));
        }
        for (TargetResourceTypeSummary ele : targetResourceTypes) {
            this.targetResourceTypes.add(ele);
        }
        return this;
    }
<p>
The target resource types.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTargetResourceTypes(java.util.Collection)} or {@link #withTargetResourceTypes(java.util.Collection)}
if you want to override the existing values.
</p>

@param targetResourceTypes
       The target resource types.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fis/src/main/java/com/amazonaws/services/fis/model/ListTargetResourceTypesResult.java