Interface AgentVersion.Builder

    • Method Detail

      • agentId

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

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

        AgentVersion.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.
      • version

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

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

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

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

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

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

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

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

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

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

        AgentVersion.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.
      • failureReasons

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

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

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

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

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