Interface PrepareAgentResponse.Builder

    • Method Detail

      • agentId

        PrepareAgentResponse.Builder agentId​(String agentId)

        The unique identifier of the agent for which the DRAFT version was created.

        Parameters:
        agentId - The unique identifier of the agent for which the DRAFT version was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentStatus

        PrepareAgentResponse.Builder agentStatus​(String agentStatus)

        The status of the DRAFT version and whether it is ready for use.

        Parameters:
        agentStatus - The status of the DRAFT version and whether it is ready for use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentStatus, AgentStatus
      • agentStatus

        PrepareAgentResponse.Builder agentStatus​(AgentStatus agentStatus)

        The status of the DRAFT version and whether it is ready for use.

        Parameters:
        agentStatus - The status of the DRAFT version and whether it is ready for use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentStatus, AgentStatus
      • agentVersion

        PrepareAgentResponse.Builder agentVersion​(String agentVersion)

        The version of the agent.

        Parameters:
        agentVersion - The version of the agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preparedAt

        PrepareAgentResponse.Builder preparedAt​(Instant preparedAt)

        The time at which the DRAFT version of the agent was last prepared.

        Parameters:
        preparedAt - The time at which the DRAFT version of the agent was last prepared.
        Returns:
        Returns a reference to this object so that method calls can be chained together.