@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 ARN of the agent.
|
Date |
getCreationTime()
The time that the agent was activated.
|
String |
getEndpointType()
The type of service
endpoint that your agent is connected to.
|
Date |
getLastConnectionTime()
The last time that the agent was communicating with the DataSync service.
|
String |
getName()
The name of the agent.
|
Platform |
getPlatform()
The platform-related details about the agent, such as the version number.
|
PrivateLinkConfig |
getPrivateLinkConfig()
The network configuration that the agent uses when connecting to a VPC service endpoint.
|
String |
getStatus()
The status of the agent.
|
int |
hashCode() |
void |
setAgentArn(String agentArn)
The ARN of the agent.
|
void |
setCreationTime(Date creationTime)
The time that the agent was activated.
|
void |
setEndpointType(String endpointType)
The type of service
endpoint that your agent is connected to.
|
void |
setLastConnectionTime(Date lastConnectionTime)
The last time that the agent was communicating with the DataSync service.
|
void |
setName(String name)
The name of the agent.
|
void |
setPlatform(Platform platform)
The platform-related details about the agent, such as the version number.
|
void |
setPrivateLinkConfig(PrivateLinkConfig privateLinkConfig)
The network configuration that the agent uses when connecting to a VPC service endpoint.
|
void |
setStatus(String status)
The status of the agent.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAgentResult |
withAgentArn(String agentArn)
The ARN of the agent.
|
DescribeAgentResult |
withCreationTime(Date creationTime)
The time that the agent was activated.
|
DescribeAgentResult |
withEndpointType(EndpointType endpointType)
The type of service
endpoint that your agent is connected to.
|
DescribeAgentResult |
withEndpointType(String endpointType)
The type of service
endpoint that your agent is connected to.
|
DescribeAgentResult |
withLastConnectionTime(Date lastConnectionTime)
The last time that the agent was communicating with the DataSync service.
|
DescribeAgentResult |
withName(String name)
The name of the agent.
|
DescribeAgentResult |
withPlatform(Platform platform)
The platform-related details about the agent, such as the version number.
|
DescribeAgentResult |
withPrivateLinkConfig(PrivateLinkConfig privateLinkConfig)
The network configuration that the agent uses when connecting to a VPC service endpoint.
|
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 ARN of the agent.
agentArn
- The ARN of the agent.public String getAgentArn()
The ARN of the agent.
public DescribeAgentResult withAgentArn(String agentArn)
The ARN of the agent.
agentArn
- The 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
, the agent is configured properly and ready to use.
If the status is OFFLINE
, the agent has been out of contact with DataSync for five minutes or
longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
status
- The status of the agent.
If the status is ONLINE
, the agent is configured properly and ready to use.
If the status is OFFLINE
, the agent has been out of contact with DataSync for five minutes or
longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
AgentStatus
public String getStatus()
The status of the agent.
If the status is ONLINE
, the agent is configured properly and ready to use.
If the status is OFFLINE
, the agent has been out of contact with DataSync for five minutes or
longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
If the status is ONLINE
, the agent is configured properly and ready to use.
If the status is OFFLINE
, the agent has been out of contact with DataSync for five minutes
or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
AgentStatus
public DescribeAgentResult withStatus(String status)
The status of the agent.
If the status is ONLINE
, the agent is configured properly and ready to use.
If the status is OFFLINE
, the agent has been out of contact with DataSync for five minutes or
longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
status
- The status of the agent.
If the status is ONLINE
, the agent is configured properly and ready to use.
If the status is OFFLINE
, the agent has been out of contact with DataSync for five minutes or
longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
AgentStatus
public DescribeAgentResult withStatus(AgentStatus status)
The status of the agent.
If the status is ONLINE
, the agent is configured properly and ready to use.
If the status is OFFLINE
, the agent has been out of contact with DataSync for five minutes or
longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
status
- The status of the agent.
If the status is ONLINE
, the agent is configured properly and ready to use.
If the status is OFFLINE
, the agent has been out of contact with DataSync for five minutes or
longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
AgentStatus
public void setLastConnectionTime(Date lastConnectionTime)
The last time that the agent was communicating with the DataSync service.
lastConnectionTime
- The last time that the agent was communicating with the DataSync service.public Date getLastConnectionTime()
The last time that the agent was communicating with the DataSync service.
public DescribeAgentResult withLastConnectionTime(Date lastConnectionTime)
The last time that the agent was communicating with the DataSync service.
lastConnectionTime
- The last time that the agent was communicating with the DataSync service.public void setCreationTime(Date creationTime)
The time that the agent was activated.
creationTime
- The time that the agent was activated.public Date getCreationTime()
The time that the agent was activated.
public DescribeAgentResult withCreationTime(Date creationTime)
The time that the agent was activated.
creationTime
- The time that the agent was activated.public void setEndpointType(String endpointType)
The type of service endpoint that your agent is connected to.
endpointType
- The type of service
endpoint that your agent is connected to.EndpointType
public String getEndpointType()
The type of service endpoint that your agent is connected to.
EndpointType
public DescribeAgentResult withEndpointType(String endpointType)
The type of service endpoint that your agent is connected to.
endpointType
- The type of service
endpoint that your agent is connected to.EndpointType
public DescribeAgentResult withEndpointType(EndpointType endpointType)
The type of service endpoint that your agent is connected to.
endpointType
- The type of service
endpoint that your agent is connected to.EndpointType
public void setPrivateLinkConfig(PrivateLinkConfig privateLinkConfig)
The network configuration that the agent uses when connecting to a VPC service endpoint.
privateLinkConfig
- The network configuration that the agent uses when connecting to a VPC service endpoint.public PrivateLinkConfig getPrivateLinkConfig()
The network configuration that the agent uses when connecting to a VPC service endpoint.
public DescribeAgentResult withPrivateLinkConfig(PrivateLinkConfig privateLinkConfig)
The network configuration that the agent uses when connecting to a VPC service endpoint.
privateLinkConfig
- The network configuration that the agent uses when connecting to a VPC service endpoint.public void setPlatform(Platform platform)
The platform-related details about the agent, such as the version number.
platform
- The platform-related details about the agent, such as the version number.public Platform getPlatform()
The platform-related details about the agent, such as the version number.
public DescribeAgentResult withPlatform(Platform platform)
The platform-related details about the agent, such as the version number.
platform
- The platform-related details about the agent, such as the version number.public String toString()
toString
in class Object
Object.toString()
public DescribeAgentResult clone()