public CloudwatchLogsAction withLogGroupName(String logGroupName) {
        setLogGroupName(logGroupName);
        return this;
    }
<p>
The CloudWatch log group to which the action sends data.
</p>

@param logGroupName
       The CloudWatch log group to which the action sends data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CloudwatchLogsAction.java