@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String hostname()
The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.
public String agentId()
The ID of the EC2 instance where the agent is installed.
public String autoScalingGroup()
The Auto Scaling group for the EC2 instance where the agent is installed.
public 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()
.
AgentHealth
public 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()
.
AgentHealth
public String agentVersion()
The version of the Amazon Inspector Agent.
public String operatingSystem()
The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
public String kernelVersion()
The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
public String ipv4Address()
The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.
public AgentPreview.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AgentPreview.Builder,AgentPreview>
public static AgentPreview.Builder builder()
public static Class<? extends AgentPreview.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.