public PutQueryDefinitionRequest withClientToken(String clientToken) {
        setClientToken(clientToken);
        return this;
    }
<p>
Used as an idempotency token, to avoid returning an exception if the service receives the same request twice
because of a network error.
</p>

@param clientToken
       Used as an idempotency token, to avoid returning an exception if the service receives the same request
       twice because of a network error.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PutQueryDefinitionRequest.java