@Generated(value="software.amazon.awssdk:codegen") public final class ManagedAgent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedAgent.Builder,ManagedAgent>
Details about the managed agent status for the container.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ManagedAgent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ManagedAgent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastStartedAt()
The Unix timestamp for the time when the managed agent was last started.
|
String |
lastStatus()
The last known status of the managed agent.
|
ManagedAgentName |
name()
The name of the managed agent.
|
String |
nameAsString()
The name of the managed agent.
|
String |
reason()
The reason for why the managed agent is in the state it is in.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ManagedAgent.Builder> |
serializableBuilderClass() |
ManagedAgent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant lastStartedAt()
The Unix timestamp for the time when the managed agent was last started.
public final ManagedAgentName name()
The name of the managed agent. When the execute command feature is enabled, the managed agent name is
ExecuteCommandAgent.
If the service returns an enum value that is not available in the current SDK version, name will return
ManagedAgentName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
ExecuteCommandAgent.ManagedAgentNamepublic final String nameAsString()
The name of the managed agent. When the execute command feature is enabled, the managed agent name is
ExecuteCommandAgent.
If the service returns an enum value that is not available in the current SDK version, name will return
ManagedAgentName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
ExecuteCommandAgent.ManagedAgentNamepublic final String reason()
The reason for why the managed agent is in the state it is in.
public final String lastStatus()
The last known status of the managed agent.
public ManagedAgent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ManagedAgent.Builder,ManagedAgent>public static ManagedAgent.Builder builder()
public static Class<? extends ManagedAgent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.