@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAgentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
DescribeAgentResponse
Constructor and Description |
---|
DescribeAgentResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAgentResult |
clone() |
boolean |
equals(Object obj) |
String |
getAgentArn()
The Amazon Resource Name (ARN) of the agent.
|
Date |
getCreationTime()
The time that the agent was activated (that is, created in your account).
|
Date |
getLastConnectionTime()
The time that the agent was last connected.
|
String |
getName()
The name of the agent.
|
String |
getStatus()
The status of the agent.
|
int |
hashCode() |
void |
setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent.
|
void |
setCreationTime(Date creationTime)
The time that the agent was activated (that is, created in your account).
|
void |
setLastConnectionTime(Date lastConnectionTime)
The time that the agent was last connected.
|
void |
setName(String name)
The name of the agent.
|
void |
setStatus(String status)
The status of the agent.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAgentResult |
withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent.
|
DescribeAgentResult |
withCreationTime(Date creationTime)
The time that the agent was activated (that is, created in your account).
|
DescribeAgentResult |
withLastConnectionTime(Date lastConnectionTime)
The time that the agent was last connected.
|
DescribeAgentResult |
withName(String name)
The name of the agent.
|
DescribeAgentResult |
withStatus(AgentStatus status)
The status of the agent.
|
DescribeAgentResult |
withStatus(String status)
The status of the agent.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent.
agentArn
- The Amazon Resource Name (ARN) of the agent.public String getAgentArn()
The Amazon Resource Name (ARN) of the agent.
public DescribeAgentResult withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of the agent.
agentArn
- The Amazon Resource Name (ARN) of the agent.public void setName(String name)
The name of the agent.
name
- The name of the agent.public String getName()
The name of the agent.
public DescribeAgentResult withName(String name)
The name of the agent.
name
- The name of the agent.public void setStatus(String status)
The status of the agent. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.
status
- The status of the agent. If the status is ONLINE, then the agent is configured properly and is available
to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the
agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy
state is resolved, the agent returns to ONLINE status.AgentStatus
public String getStatus()
The status of the agent. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.
AgentStatus
public DescribeAgentResult withStatus(String status)
The status of the agent. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.
status
- The status of the agent. If the status is ONLINE, then the agent is configured properly and is available
to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the
agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy
state is resolved, the agent returns to ONLINE status.AgentStatus
public DescribeAgentResult withStatus(AgentStatus status)
The status of the agent. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.
status
- The status of the agent. If the status is ONLINE, then the agent is configured properly and is available
to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the
agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy
state is resolved, the agent returns to ONLINE status.AgentStatus
public void setLastConnectionTime(Date lastConnectionTime)
The time that the agent was last connected.
lastConnectionTime
- The time that the agent was last connected.public Date getLastConnectionTime()
The time that the agent was last connected.
public DescribeAgentResult withLastConnectionTime(Date lastConnectionTime)
The time that the agent was last connected.
lastConnectionTime
- The time that the agent was last connected.public void setCreationTime(Date creationTime)
The time that the agent was activated (that is, created in your account).
creationTime
- The time that the agent was activated (that is, created in your account).public Date getCreationTime()
The time that the agent was activated (that is, created in your account).
public DescribeAgentResult withCreationTime(Date creationTime)
The time that the agent was activated (that is, created in your account).
creationTime
- The time that the agent was activated (that is, created in your account).public String toString()
toString
in class Object
Object.toString()
public DescribeAgentResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.