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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedAgent.BuilderlastStartedAt(Instant lastStartedAt)The Unix timestamp for the time when the managed agent was last started.ManagedAgent.BuilderlastStatus(String lastStatus)The last known status of the managed agent.ManagedAgent.Buildername(String name)The name of the managed agent.ManagedAgent.Buildername(ManagedAgentName name)The name of the managed agent.ManagedAgent.Builderreason(String reason)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, sdkFieldNameToField, sdkFields
-
-
-
-
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 isExecuteCommandAgent.- 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 isExecuteCommandAgent.- 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.
-
-