@Generated(value="software.amazon.awssdk:codegen") public final class AgentInfo extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
registeredTime()
Agent's first registration timestamp in UTC.
|
static Class<? extends AgentInfo.Builder> |
serializableBuilderClass() |
AgentInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The agent or connector version.
|
copy
public String agentId()
The agent or connector ID.
public String hostName()
The name of the host where the agent or connector resides. The host can be a server or virtual machine.
public 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.
public String connectorId()
The ID of the connector.
public String version()
The agent or connector version.
public 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()
.
AgentStatus
public 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()
.
AgentStatus
public String lastHealthPingTime()
Time since agent or connector health was reported.
public String collectionStatus()
Status of the collection process for an agent or connector.
public String agentType()
Type of agent.
public String registeredTime()
Agent's first registration timestamp in UTC.
public AgentInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AgentInfo.Builder,AgentInfo>
public static AgentInfo.Builder builder()
public static Class<? extends AgentInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.