public String getKnowledgeBaseState() {
        return this.knowledgeBaseState;
    }
<p>
Specifies whether to use the knowledge base or not when sending an <a
href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html">InvokeAgent</a>
request.
</p>

@return Specifies whether to use the knowledge base or not when sending an <a
        href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html"
        >InvokeAgent</a> request.
@see KnowledgeBaseState
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/AssociateAgentKnowledgeBaseRequest.java