@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedAgentStateChange extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a change in state for a managed agent.
| Constructor and Description |
|---|
ManagedAgentStateChange() |
| Modifier and Type | Method and Description |
|---|---|
ManagedAgentStateChange |
clone() |
boolean |
equals(Object obj) |
String |
getContainerName()
The name of the container that's associated with the managed agent.
|
String |
getManagedAgentName()
The name of the managed agent.
|
String |
getReason()
The reason for the status of the managed agent.
|
String |
getStatus()
The status of the managed agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContainerName(String containerName)
The name of the container that's associated with the managed agent.
|
void |
setManagedAgentName(String managedAgentName)
The name of the managed agent.
|
void |
setReason(String reason)
The reason for the status of the managed agent.
|
void |
setStatus(String status)
The status of the managed agent.
|
String |
toString()
Returns a string representation of this object.
|
ManagedAgentStateChange |
withContainerName(String containerName)
The name of the container that's associated with the managed agent.
|
ManagedAgentStateChange |
withManagedAgentName(ManagedAgentName managedAgentName)
The name of the managed agent.
|
ManagedAgentStateChange |
withManagedAgentName(String managedAgentName)
The name of the managed agent.
|
ManagedAgentStateChange |
withReason(String reason)
The reason for the status of the managed agent.
|
ManagedAgentStateChange |
withStatus(String status)
The status of the managed agent.
|
public void setContainerName(String containerName)
The name of the container that's associated with the managed agent.
containerName - The name of the container that's associated with the managed agent.public String getContainerName()
The name of the container that's associated with the managed agent.
public ManagedAgentStateChange withContainerName(String containerName)
The name of the container that's associated with the managed agent.
containerName - The name of the container that's associated with the managed agent.public void setManagedAgentName(String managedAgentName)
The name of the managed agent.
managedAgentName - The name of the managed agent.ManagedAgentNamepublic String getManagedAgentName()
The name of the managed agent.
ManagedAgentNamepublic ManagedAgentStateChange withManagedAgentName(String managedAgentName)
The name of the managed agent.
managedAgentName - The name of the managed agent.ManagedAgentNamepublic ManagedAgentStateChange withManagedAgentName(ManagedAgentName managedAgentName)
The name of the managed agent.
managedAgentName - The name of the managed agent.ManagedAgentNamepublic void setStatus(String status)
The status of the managed agent.
status - The status of the managed agent.public String getStatus()
The status of the managed agent.
public ManagedAgentStateChange withStatus(String status)
The status of the managed agent.
status - The status of the managed agent.public void setReason(String reason)
The reason for the status of the managed agent.
reason - The reason for the status of the managed agent.public String getReason()
The reason for the status of the managed agent.
public ManagedAgentStateChange withReason(String reason)
The reason for the status of the managed agent.
reason - The reason for the status of the managed agent.public String toString()
toString in class ObjectObject.toString()public ManagedAgentStateChange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.