@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedAgent extends Object implements Serializable, Cloneable, StructuredPojo
Details about the managed agent status for the container.
Constructor and Description |
---|
ManagedAgent() |
Modifier and Type | Method and Description |
---|---|
ManagedAgent |
clone() |
boolean |
equals(Object obj) |
Date |
getLastStartedAt()
The Unix timestamp for the time when the managed agent was last started.
|
String |
getLastStatus()
The last known status of the managed agent.
|
String |
getName()
The name of the managed agent.
|
String |
getReason()
The reason for why the managed agent is in the state it is in.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastStartedAt(Date lastStartedAt)
The Unix timestamp for the time when the managed agent was last started.
|
void |
setLastStatus(String lastStatus)
The last known status of the managed agent.
|
void |
setName(String name)
The name of the managed agent.
|
void |
setReason(String reason)
The reason for why the managed agent is in the state it is in.
|
String |
toString()
Returns a string representation of this object.
|
ManagedAgent |
withLastStartedAt(Date lastStartedAt)
The Unix timestamp for the time when the managed agent was last started.
|
ManagedAgent |
withLastStatus(String lastStatus)
The last known status of the managed agent.
|
ManagedAgent |
withName(ManagedAgentName name)
The name of the managed agent.
|
ManagedAgent |
withName(String name)
The name of the managed agent.
|
ManagedAgent |
withReason(String reason)
The reason for why the managed agent is in the state it is in.
|
public void setLastStartedAt(Date lastStartedAt)
The Unix timestamp for the time when the managed agent was last started.
lastStartedAt
- The Unix timestamp for the time when the managed agent was last started.public Date getLastStartedAt()
The Unix timestamp for the time when the managed agent was last started.
public ManagedAgent withLastStartedAt(Date lastStartedAt)
The Unix timestamp for the time when the managed agent was last started.
lastStartedAt
- The Unix timestamp for the time when the managed agent was last started.public void setName(String name)
The name of the managed agent. When the execute command feature is enabled, the managed agent name is
ExecuteCommandAgent
.
name
- The name of the managed agent. When the execute command feature is enabled, the managed agent name is
ExecuteCommandAgent
.ManagedAgentName
public String getName()
The name of the managed agent. When the execute command feature is enabled, the managed agent name is
ExecuteCommandAgent
.
ExecuteCommandAgent
.ManagedAgentName
public ManagedAgent withName(String name)
The name of the managed agent. When the execute command feature is enabled, the managed agent name is
ExecuteCommandAgent
.
name
- The name of the managed agent. When the execute command feature is enabled, the managed agent name is
ExecuteCommandAgent
.ManagedAgentName
public ManagedAgent withName(ManagedAgentName name)
The name of the managed agent. When the execute command feature is enabled, the managed agent name is
ExecuteCommandAgent
.
name
- The name of the managed agent. When the execute command feature is enabled, the managed agent name is
ExecuteCommandAgent
.ManagedAgentName
public void setReason(String reason)
The reason for why the managed agent is in the state it is in.
reason
- The reason for why the managed agent is in the state it is in.public String getReason()
The reason for why the managed agent is in the state it is in.
public ManagedAgent withReason(String reason)
The reason for why the managed agent is in the state it is in.
reason
- The reason for why the managed agent is in the state it is in.public void setLastStatus(String lastStatus)
The last known status of the managed agent.
lastStatus
- The last known status of the managed agent.public String getLastStatus()
The last known status of the managed agent.
public ManagedAgent withLastStatus(String lastStatus)
The last known status of the managed agent.
lastStatus
- The last known status of the managed agent.public String toString()
toString
in class Object
Object.toString()
public ManagedAgent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.