@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentListEntry extends Object implements Serializable, Cloneable, StructuredPojo
Represents a single entry in a list (or array) of DataSync agents when you call the ListAgents operation.
Constructor and Description |
---|
AgentListEntry() |
Modifier and Type | Method and Description |
---|---|
AgentListEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAgentArn()
The Amazon Resource Name (ARN) of a DataSync agent.
|
String |
getName()
The name of an agent.
|
Platform |
getPlatform()
The platform-related details about the agent, such as the version number.
|
String |
getStatus()
The status of an agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of a DataSync agent.
|
void |
setName(String name)
The name of an agent.
|
void |
setPlatform(Platform platform)
The platform-related details about the agent, such as the version number.
|
void |
setStatus(String status)
The status of an agent.
|
String |
toString()
Returns a string representation of this object.
|
AgentListEntry |
withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of a DataSync agent.
|
AgentListEntry |
withName(String name)
The name of an agent.
|
AgentListEntry |
withPlatform(Platform platform)
The platform-related details about the agent, such as the version number.
|
AgentListEntry |
withStatus(AgentStatus status)
The status of an agent.
|
AgentListEntry |
withStatus(String status)
The status of an agent.
|
public void setAgentArn(String agentArn)
The Amazon Resource Name (ARN) of a DataSync agent.
agentArn
- The Amazon Resource Name (ARN) of a DataSync agent.public String getAgentArn()
The Amazon Resource Name (ARN) of a DataSync agent.
public AgentListEntry withAgentArn(String agentArn)
The Amazon Resource Name (ARN) of a DataSync agent.
agentArn
- The Amazon Resource Name (ARN) of a DataSync agent.public void setName(String name)
The name of an agent.
name
- The name of an agent.public String getName()
The name of an agent.
public AgentListEntry withName(String name)
The name of an agent.
name
- The name of an agent.public void setStatus(String status)
The status of an 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 an 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 an 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 AgentListEntry withStatus(String status)
The status of an 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 an 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 AgentListEntry withStatus(AgentStatus status)
The status of an 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 an 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 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 AgentListEntry 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 AgentListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.