Interface ManagedAgent.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ManagedAgent.Builder,ManagedAgent>, SdkBuilder<ManagedAgent.Builder,ManagedAgent>, SdkPojo
Enclosing class:
ManagedAgent

public static interface ManagedAgent.Builder extends SdkPojo, CopyableBuilder<ManagedAgent.Builder,ManagedAgent>
  • Method Details

    • 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

      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:
    • 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:
    • 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.