public String getStatus() {
        return this.status;
    }
<p>
The status of the agent.
</p>
<ul>
<li>
<p>
If the status is <code>ONLINE</code>, the agent is configured properly and ready to use.
</p>
</li>
<li>
<p>
If the status is <code>OFFLINE</code>, 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 <a href=
"https://docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-agents.html#troubleshoot-agent-offline"
>What do I do if my agent is offline?</a>
</p>
</li>
</ul>

@return The status of the agent.</p>
        <ul>
        <li>
        <p>
        If the status is <code>ONLINE</code>, the agent is configured properly and ready to use.
        </p>
        </li>
        <li>
        <p>
        If the status is <code>OFFLINE</code>, 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 <a href=
        "https://docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-agents.html#troubleshoot-agent-offline"
        >What do I do if my agent is offline?</a>
        </p>
        </li>
@see AgentStatus
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/DescribeAgentResult.java