public UpdateAgentRequest withInstruction(String instruction) {
        setInstruction(instruction);
        return this;
    }
<p>
Specifies new instructions that tell the agent what it should do and how it should interact with users.
</p>

@param instruction
       Specifies new instructions that tell the agent what it should do and how it should interact with users.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/UpdateAgentRequest.java