public void setCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn) {
        this.cloudWatchLogsRoleArn = cloudWatchLogsRoleArn;
    }
<p>
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. You must use a role
that exists in your account.
</p>

@param cloudWatchLogsRoleArn
       Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. You must use
       a role that exists in your account.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/UpdateTrailRequest.java