public ListV2LoggingLevelsRequest withTargetType(String targetType) {
        setTargetType(targetType);
        return this;
    }
<p>
The type of resource for which you are configuring logging. Must be <code>THING_Group</code>.
</p>

@param targetType
       The type of resource for which you are configuring logging. Must be <code>THING_Group</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see LogTargetType
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListV2LoggingLevelsRequest.java