public void setName(String name) {
        this.name = name;
    }
<p>
A name for the query definition. If you are saving numerous query definitions, we recommend that you name them.
This way, you can find the ones you want by using the first part of the name as a filter in the
<code>queryDefinitionNamePrefix</code> parameter of <a
href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html"
>DescribeQueryDefinitions</a>.
</p>

@param name
       A name for the query definition. If you are saving numerous query definitions, we recommend that you name
       them. This way, you can find the ones you want by using the first part of the name as a filter in the
       <code>queryDefinitionNamePrefix</code> parameter of <a
       href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html"
       >DescribeQueryDefinitions</a>.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PutQueryDefinitionRequest.java