Interface Agent.Builder

    • Method Detail

      • agentId

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

        Agent.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.
      • agentArn

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

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

        Agent.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

        Agent.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.
      • agentStatus

        Agent.Builder agentStatus​(String agentStatus)
        Sets the value of the AgentStatus property for this object.
        Parameters:
        agentStatus - The new value for the AgentStatus property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentStatus, AgentStatus
      • agentStatus

        Agent.Builder agentStatus​(AgentStatus agentStatus)
        Sets the value of the AgentStatus property for this object.
        Parameters:
        agentStatus - The new value for the AgentStatus property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentStatus, AgentStatus
      • foundationModel

        Agent.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

        Agent.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

        Agent.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

        Agent.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

        Agent.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.
      • createdAt

        Agent.Builder createdAt​(Instant createdAt)
        Sets the value of the CreatedAt property for this object.
        Parameters:
        createdAt - The new value for the CreatedAt property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        Agent.Builder updatedAt​(Instant updatedAt)
        Sets the value of the UpdatedAt property for this object.
        Parameters:
        updatedAt - The new value for the UpdatedAt property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preparedAt

        Agent.Builder preparedAt​(Instant preparedAt)
        Sets the value of the PreparedAt property for this object.
        Parameters:
        preparedAt - The new value for the PreparedAt property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        Agent.Builder failureReasons​(Collection<String> failureReasons)
        Sets the value of the FailureReasons property for this object.
        Parameters:
        failureReasons - The new value for the FailureReasons property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

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

        Agent.Builder recommendedActions​(Collection<String> recommendedActions)
        Sets the value of the RecommendedActions property for this object.
        Parameters:
        recommendedActions - The new value for the RecommendedActions property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recommendedActions

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

        Agent.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.