@Generated(value="software.amazon.awssdk:codegen") public final class AgentPreview extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AgentPreview.Builder,AgentPreview>
Used as a response element in the PreviewAgents action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AgentPreview.Builder |
| Modifier and Type | Method and Description |
|---|---|
AgentHealth |
agentHealth()
The health status of the Amazon Inspector Agent.
|
String |
agentHealthAsString()
The health status of the Amazon Inspector Agent.
|
String |
agentId()
The ID of the EC2 instance where the agent is installed.
|
String |
agentVersion()
The version of the Amazon Inspector Agent.
|
String |
autoScalingGroup()
The Auto Scaling group for the EC2 instance where the agent is installed.
|
static AgentPreview.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostname()
The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.
|
String |
ipv4Address()
The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.
|
String |
kernelVersion()
The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is
installed.
|
String |
operatingSystem()
The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AgentPreview.Builder> |
serializableBuilderClass() |
AgentPreview.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String hostname()
The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.
public final String agentId()
The ID of the EC2 instance where the agent is installed.
public final String autoScalingGroup()
The Auto Scaling group for the EC2 instance where the agent is installed.
public final AgentHealth agentHealth()
The health status of the Amazon Inspector Agent.
If the service returns an enum value that is not available in the current SDK version, agentHealth will
return AgentHealth.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
agentHealthAsString().
AgentHealthpublic final String agentHealthAsString()
The health status of the Amazon Inspector Agent.
If the service returns an enum value that is not available in the current SDK version, agentHealth will
return AgentHealth.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
agentHealthAsString().
AgentHealthpublic final String agentVersion()
The version of the Amazon Inspector Agent.
public final String operatingSystem()
The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
public final String kernelVersion()
The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
public final String ipv4Address()
The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.
public AgentPreview.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AgentPreview.Builder,AgentPreview>public static AgentPreview.Builder builder()
public static Class<? extends AgentPreview.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.