@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.
|
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. For more information, see DataSync agent statuses.
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 final String statusAsString()
The status of an agent. For more information, see DataSync agent statuses.
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 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.