@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentRunAgent extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an Amazon Inspector agent. This data type is used as a response element in the ListAssessmentRunAgents action.
Constructor and Description |
---|
AssessmentRunAgent() |
Modifier and Type | Method and Description |
---|---|
AssessmentRunAgent |
clone() |
boolean |
equals(Object obj) |
String |
getAgentHealth()
The current health state of the agent.
|
String |
getAgentHealthCode()
The detailed health state of the agent.
|
String |
getAgentHealthDetails()
The description for the agent health code.
|
String |
getAgentId()
The AWS account of the EC2 instance where the agent is installed.
|
String |
getAssessmentRunArn()
The ARN of the assessment run that is associated with the agent.
|
String |
getAutoScalingGroup()
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
|
List<TelemetryMetadata> |
getTelemetryMetadata()
The Amazon Inspector application data metrics that are collected by the agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentHealth(AgentHealth agentHealth)
The current health state of the agent.
|
void |
setAgentHealth(String agentHealth)
The current health state of the agent.
|
void |
setAgentHealthCode(AgentHealthCode agentHealthCode)
The detailed health state of the agent.
|
void |
setAgentHealthCode(String agentHealthCode)
The detailed health state of the agent.
|
void |
setAgentHealthDetails(String agentHealthDetails)
The description for the agent health code.
|
void |
setAgentId(String agentId)
The AWS account of the EC2 instance where the agent is installed.
|
void |
setAssessmentRunArn(String assessmentRunArn)
The ARN of the assessment run that is associated with the agent.
|
void |
setAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
|
void |
setTelemetryMetadata(Collection<TelemetryMetadata> telemetryMetadata)
The Amazon Inspector application data metrics that are collected by the agent.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AssessmentRunAgent |
withAgentHealth(AgentHealth agentHealth)
The current health state of the agent.
|
AssessmentRunAgent |
withAgentHealth(String agentHealth)
The current health state of the agent.
|
AssessmentRunAgent |
withAgentHealthCode(AgentHealthCode agentHealthCode)
The detailed health state of the agent.
|
AssessmentRunAgent |
withAgentHealthCode(String agentHealthCode)
The detailed health state of the agent.
|
AssessmentRunAgent |
withAgentHealthDetails(String agentHealthDetails)
The description for the agent health code.
|
AssessmentRunAgent |
withAgentId(String agentId)
The AWS account of the EC2 instance where the agent is installed.
|
AssessmentRunAgent |
withAssessmentRunArn(String assessmentRunArn)
The ARN of the assessment run that is associated with the agent.
|
AssessmentRunAgent |
withAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
|
AssessmentRunAgent |
withTelemetryMetadata(Collection<TelemetryMetadata> telemetryMetadata)
The Amazon Inspector application data metrics that are collected by the agent.
|
AssessmentRunAgent |
withTelemetryMetadata(TelemetryMetadata... telemetryMetadata)
The Amazon Inspector application data metrics that are collected by the agent.
|
public void setAgentId(String agentId)
The AWS account of the EC2 instance where the agent is installed.
agentId
- The AWS account of the EC2 instance where the agent is installed.public String getAgentId()
The AWS account of the EC2 instance where the agent is installed.
public AssessmentRunAgent withAgentId(String agentId)
The AWS account of the EC2 instance where the agent is installed.
agentId
- The AWS account of the EC2 instance where the agent is installed.public void setAssessmentRunArn(String assessmentRunArn)
The ARN of the assessment run that is associated with the agent.
assessmentRunArn
- The ARN of the assessment run that is associated with the agent.public String getAssessmentRunArn()
The ARN of the assessment run that is associated with the agent.
public AssessmentRunAgent withAssessmentRunArn(String assessmentRunArn)
The ARN of the assessment run that is associated with the agent.
assessmentRunArn
- The ARN of the assessment run that is associated with the agent.public void setAgentHealth(String agentHealth)
The current health state of the agent.
agentHealth
- The current health state of the agent.AgentHealth
public String getAgentHealth()
The current health state of the agent.
AgentHealth
public AssessmentRunAgent withAgentHealth(String agentHealth)
The current health state of the agent.
agentHealth
- The current health state of the agent.AgentHealth
public void setAgentHealth(AgentHealth agentHealth)
The current health state of the agent.
agentHealth
- The current health state of the agent.AgentHealth
public AssessmentRunAgent withAgentHealth(AgentHealth agentHealth)
The current health state of the agent.
agentHealth
- The current health state of the agent.AgentHealth
public void setAgentHealthCode(String agentHealthCode)
The detailed health state of the agent.
agentHealthCode
- The detailed health state of the agent.AgentHealthCode
public String getAgentHealthCode()
The detailed health state of the agent.
AgentHealthCode
public AssessmentRunAgent withAgentHealthCode(String agentHealthCode)
The detailed health state of the agent.
agentHealthCode
- The detailed health state of the agent.AgentHealthCode
public void setAgentHealthCode(AgentHealthCode agentHealthCode)
The detailed health state of the agent.
agentHealthCode
- The detailed health state of the agent.AgentHealthCode
public AssessmentRunAgent withAgentHealthCode(AgentHealthCode agentHealthCode)
The detailed health state of the agent.
agentHealthCode
- The detailed health state of the agent.AgentHealthCode
public void setAgentHealthDetails(String agentHealthDetails)
The description for the agent health code.
agentHealthDetails
- The description for the agent health code.public String getAgentHealthDetails()
The description for the agent health code.
public AssessmentRunAgent withAgentHealthDetails(String agentHealthDetails)
The description for the agent health code.
agentHealthDetails
- The description for the agent health code.public void setAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
autoScalingGroup
- The Auto Scaling group of the EC2 instance that is specified by the agent ID.public String getAutoScalingGroup()
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
public AssessmentRunAgent withAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
autoScalingGroup
- The Auto Scaling group of the EC2 instance that is specified by the agent ID.public List<TelemetryMetadata> getTelemetryMetadata()
The Amazon Inspector application data metrics that are collected by the agent.
public void setTelemetryMetadata(Collection<TelemetryMetadata> telemetryMetadata)
The Amazon Inspector application data metrics that are collected by the agent.
telemetryMetadata
- The Amazon Inspector application data metrics that are collected by the agent.public AssessmentRunAgent withTelemetryMetadata(TelemetryMetadata... telemetryMetadata)
The Amazon Inspector application data metrics that are collected by the agent.
NOTE: This method appends the values to the existing list (if any). Use
setTelemetryMetadata(java.util.Collection)
or withTelemetryMetadata(java.util.Collection)
if
you want to override the existing values.
telemetryMetadata
- The Amazon Inspector application data metrics that are collected by the agent.public AssessmentRunAgent withTelemetryMetadata(Collection<TelemetryMetadata> telemetryMetadata)
The Amazon Inspector application data metrics that are collected by the agent.
telemetryMetadata
- The Amazon Inspector application data metrics that are collected by the agent.public String toString()
toString
in class Object
Object.toString()
public AssessmentRunAgent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.