@Generated(value="software.amazon.awssdk:codegen") public final class DescribeAgentResponse extends DataSyncResponse implements ToCopyableBuilder<DescribeAgentResponse.Builder,DescribeAgentResponse>
DescribeAgentResponse
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeAgentResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
agentArn()
The Amazon Resource Name (ARN) of the agent.
|
static DescribeAgentResponse.Builder |
builder() |
Instant |
creationTime()
The time that the agent was activated (that is, created in your account).
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastConnectionTime()
The time that the agent was last connected.
|
String |
name()
The name of the agent.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeAgentResponse.Builder> |
serializableBuilderClass() |
AgentStatus |
status()
The status of the agent.
|
String |
statusAsString()
The status of the agent.
|
DescribeAgentResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String agentArn()
The Amazon Resource Name (ARN) of the agent.
public String name()
The name of the agent.
public 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.
If the service returns an enum value that is not available in the current SDK version, status will
return AgentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AgentStatuspublic String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return AgentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AgentStatuspublic Instant lastConnectionTime()
The time that the agent was last connected.
public Instant creationTime()
The time that the agent was activated (that is, created in your account).
public DescribeAgentResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeAgentResponse.Builder,DescribeAgentResponse>toBuilder in class AwsResponsepublic static DescribeAgentResponse.Builder builder()
public static Class<? extends DescribeAgentResponse.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.