@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 of agents. AgentListEntry returns an array that contains a list of
agents when the ListAgents operation is called.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AgentListEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
agentArn()
The Amazon Resource Name (ARN) of the 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 the agent.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AgentListEntry.Builder> |
serializableBuilderClass() |
AgentStatus |
status()
The status of the agent.
|
String |
statusAsString()
The status of the agent.
|
AgentListEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, 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 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 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.