@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).
|
EndpointOptions |
getEndpointOptions() |
Date |
getLastConnectionTime()
The time that the agent last connected to DataSyc.
|
String |
getName()
The name of the agent.
|
PrivateLinkConfig |
getPrivateLinkConfig() |
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 |
setEndpointOptions(EndpointOptions endpointOptions) |
void |
setLastConnectionTime(Date lastConnectionTime)
The time that the agent last connected to DataSyc.
|
void |
setName(String name)
The name of the agent.
|
void |
setPrivateLinkConfig(PrivateLinkConfig privateLinkConfig) |
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 |
withEndpointOptions(EndpointOptions endpointOptions) |
DescribeAgentResult |
withLastConnectionTime(Date lastConnectionTime)
The time that the agent last connected to DataSyc.
|
DescribeAgentResult |
withName(String name)
The name of the agent.
|
DescribeAgentResult |
withPrivateLinkConfig(PrivateLinkConfig privateLinkConfig) |
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 last connected to DataSyc.
lastConnectionTime
- The time that the agent last connected to DataSyc.public Date getLastConnectionTime()
The time that the agent last connected to DataSyc.
public DescribeAgentResult withLastConnectionTime(Date lastConnectionTime)
The time that the agent last connected to DataSyc.
lastConnectionTime
- The time that the agent last connected to DataSyc.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 void setEndpointOptions(EndpointOptions endpointOptions)
endpointOptions
- public EndpointOptions getEndpointOptions()
public DescribeAgentResult withEndpointOptions(EndpointOptions endpointOptions)
endpointOptions
- public void setPrivateLinkConfig(PrivateLinkConfig privateLinkConfig)
privateLinkConfig
- public PrivateLinkConfig getPrivateLinkConfig()
public DescribeAgentResult withPrivateLinkConfig(PrivateLinkConfig privateLinkConfig)
privateLinkConfig
- public String toString()
toString
in class Object
Object.toString()
public DescribeAgentResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.