public void setTargetName(String targetName) {
        this.targetName = targetName;
    }
<p>
The target name.
</p>

@param targetName
       The target name.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/LogTarget.java