@Generated(value="software.amazon.awssdk:codegen") public final class AgentListEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AgentListEntry.Builder,AgentListEntry>
Represents a single entry in a list (or array) of DataSync agents when you call the ListAgents operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AgentListEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
agentArn()
The Amazon Resource Name (ARN) of a DataSync agent.
|
static AgentListEntry.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of an agent.
|
Platform |
platform()
The platform-related details about the agent, such as the version number.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AgentListEntry.Builder> |
serializableBuilderClass() |
AgentStatus |
status()
The status of an agent.
|
String |
statusAsString()
The status of an agent.
|
AgentListEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String agentArn()
The Amazon Resource Name (ARN) of a DataSync agent.
public final String name()
The name of an agent.
public final 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?
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().
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?
AgentStatuspublic final String statusAsString()
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 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().
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?
AgentStatuspublic final Platform platform()
The platform-related details about the agent, such as the version number.
public AgentListEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AgentListEntry.Builder,AgentListEntry>public static AgentListEntry.Builder builder()
public static Class<? extends AgentListEntry.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.