public GetNamedQueryResult withNamedQuery(NamedQuery namedQuery) {
        setNamedQuery(namedQuery);
        return this;
    }
<p>
Information about the query.
</p>

@param namedQuery
       Information about the query.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/GetNamedQueryResult.java