@Generated(value="software.amazon.awssdk:codegen") public final class AgentInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AgentInfo.Builder,AgentInfo>
Information about agents or connectors associated with the user’s AWS account. Information includes agent or connector IDs, IP addresses, media access control (MAC) addresses, agent or connector health, hostname where the agent or connector resides, and agent version for each agent.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AgentInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
agentId()
The agent or connector ID.
|
List<AgentNetworkInfo> |
agentNetworkInfoList()
Network details about the host where the agent or connector resides.
|
String |
agentType()
Type of agent.
|
static AgentInfo.Builder |
builder() |
String |
collectionStatus()
Status of the collection process for an agent or connector.
|
String |
connectorId()
The ID of the connector.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAgentNetworkInfoList()
Returns true if the AgentNetworkInfoList property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
AgentStatus |
health()
The health of the agent or connector.
|
String |
healthAsString()
The health of the agent or connector.
|
String |
hostName()
The name of the host where the agent or connector resides.
|
String |
lastHealthPingTime()
Time since agent or connector health was reported.
|
String |
registeredTime()
Agent's first registration timestamp in UTC.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AgentInfo.Builder> |
serializableBuilderClass() |
AgentInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The agent or connector version.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String agentId()
The agent or connector ID.
public final String hostName()
The name of the host where the agent or connector resides. The host can be a server or virtual machine.
public final boolean hasAgentNetworkInfoList()
public final List<AgentNetworkInfo> agentNetworkInfoList()
Network details about the host where the agent or connector resides.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAgentNetworkInfoList() to see if a value was sent in this field.
public final String connectorId()
The ID of the connector.
public final String version()
The agent or connector version.
public final AgentStatus health()
The health of the agent or connector.
If the service returns an enum value that is not available in the current SDK version, health will
return AgentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
healthAsString().
AgentStatuspublic final String healthAsString()
The health of the agent or connector.
If the service returns an enum value that is not available in the current SDK version, health will
return AgentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
healthAsString().
AgentStatuspublic final String lastHealthPingTime()
Time since agent or connector health was reported.
public final String collectionStatus()
Status of the collection process for an agent or connector.
public final String agentType()
Type of agent.
public final String registeredTime()
Agent's first registration timestamp in UTC.
public AgentInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AgentInfo.Builder,AgentInfo>public static AgentInfo.Builder builder()
public static Class<? extends AgentInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.