@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).
|
String |
getEndpointType()
The type of endpoint that your agent is connected to.
|
Date |
getLastConnectionTime()
The time that the agent last connected to DataSync.
|
String |
getName()
The name of the agent.
|
PrivateLinkConfig |
getPrivateLinkConfig()
The subnet and the security group that DataSync used to access a VPC endpoint.
|
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 |
setEndpointType(String endpointType)
The type of endpoint that your agent is connected to.
|
void |
setLastConnectionTime(Date lastConnectionTime)
The time that the agent last connected to DataSync.
|
void |
setName(String name)
The name of the agent.
|
void |
setPrivateLinkConfig(PrivateLinkConfig privateLinkConfig)
The subnet and the security group that DataSync used to access a VPC endpoint.
|
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 |
withEndpointType(EndpointType endpointType)
The type of endpoint that your agent is connected to.
|
DescribeAgentResult |
withEndpointType(String endpointType)
The type of endpoint that your agent is connected to.
|
DescribeAgentResult |
withLastConnectionTime(Date lastConnectionTime)
The time that the agent last connected to DataSync.
|
DescribeAgentResult |
withName(String name)
The name of the agent.
|
DescribeAgentResult |
withPrivateLinkConfig(PrivateLinkConfig privateLinkConfig)
The subnet and the security group that DataSync used to access a VPC 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 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 DataSync.
lastConnectionTime
- The time that the agent last connected to DataSync.public Date getLastConnectionTime()
The time that the agent last connected to DataSync.
public DescribeAgentResult withLastConnectionTime(Date lastConnectionTime)
The time that the agent last connected to DataSync.
lastConnectionTime
- The time that the agent last connected to DataSync.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 setEndpointType(String endpointType)
The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.
endpointType
- The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not
accessible over the public internet.EndpointType
public String getEndpointType()
The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.
EndpointType
public DescribeAgentResult withEndpointType(String endpointType)
The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.
endpointType
- The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not
accessible over the public internet.EndpointType
public DescribeAgentResult withEndpointType(EndpointType endpointType)
The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.
endpointType
- The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not
accessible over the public internet.EndpointType
public void setPrivateLinkConfig(PrivateLinkConfig privateLinkConfig)
The subnet and the security group that DataSync used to access a VPC endpoint.
privateLinkConfig
- The subnet and the security group that DataSync used to access a VPC endpoint.public PrivateLinkConfig getPrivateLinkConfig()
The subnet and the security group that DataSync used to access a VPC endpoint.
public DescribeAgentResult withPrivateLinkConfig(PrivateLinkConfig privateLinkConfig)
The subnet and the security group that DataSync used to access a VPC endpoint.
privateLinkConfig
- The subnet and the security group that DataSync used to access a VPC endpoint.public String toString()
toString
in class Object
Object.toString()
public DescribeAgentResult clone()