@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentPreview extends Object implements Serializable, Cloneable, StructuredPojo
Used as a response element in the PreviewAgents action.
Constructor and Description |
---|
AgentPreview() |
Modifier and Type | Method and Description |
---|---|
AgentPreview |
clone() |
boolean |
equals(Object obj) |
String |
getAgentHealth()
The health status of the Amazon Inspector Agent.
|
String |
getAgentId()
The ID of the EC2 instance where the agent is installed.
|
String |
getAgentVersion()
The version of the Amazon Inspector Agent.
|
String |
getAutoScalingGroup()
The Auto Scaling group for the EC2 instance where the agent is installed.
|
String |
getHostname()
The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.
|
String |
getIpv4Address()
The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.
|
String |
getKernelVersion()
The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is
installed.
|
String |
getOperatingSystem()
The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentHealth(String agentHealth)
The health status of the Amazon Inspector Agent.
|
void |
setAgentId(String agentId)
The ID of the EC2 instance where the agent is installed.
|
void |
setAgentVersion(String agentVersion)
The version of the Amazon Inspector Agent.
|
void |
setAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group for the EC2 instance where the agent is installed.
|
void |
setHostname(String hostname)
The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.
|
void |
setIpv4Address(String ipv4Address)
The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.
|
void |
setKernelVersion(String kernelVersion)
The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is
installed.
|
void |
setOperatingSystem(String operatingSystem)
The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
|
String |
toString()
Returns a string representation of this object.
|
AgentPreview |
withAgentHealth(AgentHealth agentHealth)
The health status of the Amazon Inspector Agent.
|
AgentPreview |
withAgentHealth(String agentHealth)
The health status of the Amazon Inspector Agent.
|
AgentPreview |
withAgentId(String agentId)
The ID of the EC2 instance where the agent is installed.
|
AgentPreview |
withAgentVersion(String agentVersion)
The version of the Amazon Inspector Agent.
|
AgentPreview |
withAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group for the EC2 instance where the agent is installed.
|
AgentPreview |
withHostname(String hostname)
The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.
|
AgentPreview |
withIpv4Address(String ipv4Address)
The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.
|
AgentPreview |
withKernelVersion(String kernelVersion)
The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is
installed.
|
AgentPreview |
withOperatingSystem(String operatingSystem)
The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
|
public void setHostname(String hostname)
The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.
hostname
- The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.public String getHostname()
The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.
public AgentPreview withHostname(String hostname)
The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.
hostname
- The hostname of the EC2 instance on which the Amazon Inspector Agent is installed.public void setAgentId(String agentId)
The ID of the EC2 instance where the agent is installed.
agentId
- The ID of the EC2 instance where the agent is installed.public String getAgentId()
The ID of the EC2 instance where the agent is installed.
public AgentPreview withAgentId(String agentId)
The ID of the EC2 instance where the agent is installed.
agentId
- The ID of the EC2 instance where the agent is installed.public void setAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group for the EC2 instance where the agent is installed.
autoScalingGroup
- The Auto Scaling group for the EC2 instance where the agent is installed.public String getAutoScalingGroup()
The Auto Scaling group for the EC2 instance where the agent is installed.
public AgentPreview withAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group for the EC2 instance where the agent is installed.
autoScalingGroup
- The Auto Scaling group for the EC2 instance where the agent is installed.public void setAgentHealth(String agentHealth)
The health status of the Amazon Inspector Agent.
agentHealth
- The health status of the Amazon Inspector Agent.AgentHealth
public String getAgentHealth()
The health status of the Amazon Inspector Agent.
AgentHealth
public AgentPreview withAgentHealth(String agentHealth)
The health status of the Amazon Inspector Agent.
agentHealth
- The health status of the Amazon Inspector Agent.AgentHealth
public AgentPreview withAgentHealth(AgentHealth agentHealth)
The health status of the Amazon Inspector Agent.
agentHealth
- The health status of the Amazon Inspector Agent.AgentHealth
public void setAgentVersion(String agentVersion)
The version of the Amazon Inspector Agent.
agentVersion
- The version of the Amazon Inspector Agent.public String getAgentVersion()
The version of the Amazon Inspector Agent.
public AgentPreview withAgentVersion(String agentVersion)
The version of the Amazon Inspector Agent.
agentVersion
- The version of the Amazon Inspector Agent.public void setOperatingSystem(String operatingSystem)
The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
operatingSystem
- The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.public String getOperatingSystem()
The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
public AgentPreview withOperatingSystem(String operatingSystem)
The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
operatingSystem
- The operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.public void setKernelVersion(String kernelVersion)
The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
kernelVersion
- The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent
is installed.public String getKernelVersion()
The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
public AgentPreview withKernelVersion(String kernelVersion)
The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent is installed.
kernelVersion
- The kernel version of the operating system running on the EC2 instance on which the Amazon Inspector Agent
is installed.public void setIpv4Address(String ipv4Address)
The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.
ipv4Address
- The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.public String getIpv4Address()
The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.
public AgentPreview withIpv4Address(String ipv4Address)
The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.
ipv4Address
- The IP address of the EC2 instance on which the Amazon Inspector Agent is installed.public String toString()
toString
in class Object
Object.toString()
public AgentPreview clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.