public String getType() {
        return this.type;
    }
<p>
The type of target group.
</p>

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