Interface CreateAgentRequest.Builder

    • Method Detail

      • agentName

        CreateAgentRequest.Builder agentName​(String agentName)
        Sets the value of the AgentName property for this object.
        Parameters:
        agentName - The new value for the AgentName property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateAgentRequest.Builder clientToken​(String clientToken)
        Sets the value of the ClientToken property for this object.
        Parameters:
        clientToken - The new value for the ClientToken property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instruction

        CreateAgentRequest.Builder instruction​(String instruction)
        Sets the value of the Instruction property for this object.
        Parameters:
        instruction - The new value for the Instruction property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • foundationModel

        CreateAgentRequest.Builder foundationModel​(String foundationModel)
        Sets the value of the FoundationModel property for this object.
        Parameters:
        foundationModel - The new value for the FoundationModel property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateAgentRequest.Builder description​(String description)
        Sets the value of the Description property for this object.
        Parameters:
        description - The new value for the Description property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • idleSessionTTLInSeconds

        CreateAgentRequest.Builder idleSessionTTLInSeconds​(Integer idleSessionTTLInSeconds)
        Sets the value of the IdleSessionTTLInSeconds property for this object.
        Parameters:
        idleSessionTTLInSeconds - The new value for the IdleSessionTTLInSeconds property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentResourceRoleArn

        CreateAgentRequest.Builder agentResourceRoleArn​(String agentResourceRoleArn)
        Sets the value of the AgentResourceRoleArn property for this object.
        Parameters:
        agentResourceRoleArn - The new value for the AgentResourceRoleArn property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customerEncryptionKeyArn

        CreateAgentRequest.Builder customerEncryptionKeyArn​(String customerEncryptionKeyArn)
        Sets the value of the CustomerEncryptionKeyArn property for this object.
        Parameters:
        customerEncryptionKeyArn - The new value for the CustomerEncryptionKeyArn property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAgentRequest.Builder tags​(Map<String,​String> tags)
        Sets the value of the Tags property for this object.
        Parameters:
        tags - The new value for the Tags property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • promptOverrideConfiguration

        CreateAgentRequest.Builder promptOverrideConfiguration​(PromptOverrideConfiguration promptOverrideConfiguration)
        Sets the value of the PromptOverrideConfiguration property for this object.
        Parameters:
        promptOverrideConfiguration - The new value for the PromptOverrideConfiguration property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.