public void setType(String type) {
        this.type = type;
    }
<p>
The target group type.
</p>

@param type
       The target group type.
@see TargetGroupType
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/TargetGroupSummary.java