Interface ManagedAgent.Builder

    • Method Detail

      • lastStartedAt

        ManagedAgent.Builder lastStartedAt​(Instant lastStartedAt)

        The Unix timestamp for the time when the managed agent was last started.

        Parameters:
        lastStartedAt - The Unix timestamp for the time when the managed agent was last started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        ManagedAgent.Builder name​(String name)

        The name of the managed agent. When the execute command feature is turned on, the managed agent name is ExecuteCommandAgent.

        Parameters:
        name - The name of the managed agent. When the execute command feature is turned on, the managed agent name is ExecuteCommandAgent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ManagedAgentName, ManagedAgentName
      • name

        ManagedAgent.Builder name​(ManagedAgentName name)

        The name of the managed agent. When the execute command feature is turned on, the managed agent name is ExecuteCommandAgent.

        Parameters:
        name - The name of the managed agent. When the execute command feature is turned on, the managed agent name is ExecuteCommandAgent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ManagedAgentName, ManagedAgentName
      • reason

        ManagedAgent.Builder reason​(String reason)

        The reason for why the managed agent is in the state it is in.

        Parameters:
        reason - The reason for why the managed agent is in the state it is in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastStatus

        ManagedAgent.Builder lastStatus​(String lastStatus)

        The last known status of the managed agent.

        Parameters:
        lastStatus - The last known status of the managed agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.