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 Summary
Modifier and TypeMethodDescriptionlastStartedAt
(Instant lastStartedAt) The Unix timestamp for the time when the managed agent was last started.lastStatus
(String lastStatus) The last known status of the managed agent.The name of the managed agent.name
(ManagedAgentName name) The name of the managed agent.The reason for why the managed agent is in the state it is in.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 isExecuteCommandAgent
.- 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 isExecuteCommandAgent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-