public ConfigurationPolicyAssociationSummary withTargetType(TargetType targetType) {
        this.targetType = targetType.toString();
        return this;
    }
<p>
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
</p>

@param targetType
       Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
@return Returns a reference to this object so that method calls can be chained together.
@see TargetType
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/ConfigurationPolicyAssociationSummary.java