Class AssessmentRunAgent
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about an Amazon Inspector agent. This data type is used as a response element in the ListAssessmentRunAgents action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The current health state of the agent.The detailed health state of the agent.The description for the agent health code.The AWS account of the EC2 instance where the agent is installed.The ARN of the assessment run that is associated with the agent.The Auto Scaling group of the EC2 instance that is specified by the agent ID.The Amazon Inspector application data metrics that are collected by the agent.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAgentHealth
(AgentHealth agentHealth) The current health state of the agent.withAgentHealth
(String agentHealth) The current health state of the agent.withAgentHealthCode
(AgentHealthCode agentHealthCode) The detailed health state of the agent.withAgentHealthCode
(String agentHealthCode) The detailed health state of the agent.withAgentHealthDetails
(String agentHealthDetails) The description for the agent health code.withAgentId
(String agentId) The AWS account of the EC2 instance where the agent is installed.withAssessmentRunArn
(String assessmentRunArn) The ARN of the assessment run that is associated with the agent.withAutoScalingGroup
(String autoScalingGroup) The Auto Scaling group of the EC2 instance that is specified by the agent ID.withTelemetryMetadata
(TelemetryMetadata... telemetryMetadata) The Amazon Inspector application data metrics that are collected by the agent.withTelemetryMetadata
(Collection<TelemetryMetadata> telemetryMetadata) The Amazon Inspector application data metrics that are collected by the agent.
-
Constructor Details
-
AssessmentRunAgent
public AssessmentRunAgent()
-
-
Method Details
-
setAgentId
The AWS account of the EC2 instance where the agent is installed.
- Parameters:
agentId
- The AWS account of the EC2 instance where the agent is installed.
-
getAgentId
The AWS account of the EC2 instance where the agent is installed.
- Returns:
- The AWS account of the EC2 instance where the agent is installed.
-
withAgentId
The AWS account of the EC2 instance where the agent is installed.
- Parameters:
agentId
- The AWS account of the EC2 instance where the agent is installed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAssessmentRunArn
The ARN of the assessment run that is associated with the agent.
- Parameters:
assessmentRunArn
- The ARN of the assessment run that is associated with the agent.
-
getAssessmentRunArn
The ARN of the assessment run that is associated with the agent.
- Returns:
- The ARN of the assessment run that is associated with the agent.
-
withAssessmentRunArn
The ARN of the assessment run that is associated with the agent.
- Parameters:
assessmentRunArn
- The ARN of the assessment run that is associated with the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAgentHealth
The current health state of the agent.
- Parameters:
agentHealth
- The current health state of the agent.- See Also:
-
getAgentHealth
The current health state of the agent.
- Returns:
- The current health state of the agent.
- See Also:
-
withAgentHealth
The current health state of the agent.
- Parameters:
agentHealth
- The current health state of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAgentHealth
The current health state of the agent.
- Parameters:
agentHealth
- The current health state of the agent.- See Also:
-
withAgentHealth
The current health state of the agent.
- Parameters:
agentHealth
- The current health state of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAgentHealthCode
The detailed health state of the agent.
- Parameters:
agentHealthCode
- The detailed health state of the agent.- See Also:
-
getAgentHealthCode
The detailed health state of the agent.
- Returns:
- The detailed health state of the agent.
- See Also:
-
withAgentHealthCode
The detailed health state of the agent.
- Parameters:
agentHealthCode
- The detailed health state of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAgentHealthCode
The detailed health state of the agent.
- Parameters:
agentHealthCode
- The detailed health state of the agent.- See Also:
-
withAgentHealthCode
The detailed health state of the agent.
- Parameters:
agentHealthCode
- The detailed health state of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAgentHealthDetails
The description for the agent health code.
- Parameters:
agentHealthDetails
- The description for the agent health code.
-
getAgentHealthDetails
The description for the agent health code.
- Returns:
- The description for the agent health code.
-
withAgentHealthDetails
The description for the agent health code.
- Parameters:
agentHealthDetails
- The description for the agent health code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoScalingGroup
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
- Parameters:
autoScalingGroup
- The Auto Scaling group of the EC2 instance that is specified by the agent ID.
-
getAutoScalingGroup
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
- Returns:
- The Auto Scaling group of the EC2 instance that is specified by the agent ID.
-
withAutoScalingGroup
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
- Parameters:
autoScalingGroup
- The Auto Scaling group of the EC2 instance that is specified by the agent ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTelemetryMetadata
The Amazon Inspector application data metrics that are collected by the agent.
- Returns:
- The Amazon Inspector application data metrics that are collected by the agent.
-
setTelemetryMetadata
The Amazon Inspector application data metrics that are collected by the agent.
- Parameters:
telemetryMetadata
- The Amazon Inspector application data metrics that are collected by the agent.
-
withTelemetryMetadata
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)
orwithTelemetryMetadata(java.util.Collection)
if you want to override the existing values.- Parameters:
telemetryMetadata
- The Amazon Inspector application data metrics that are collected by the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTelemetryMetadata
The Amazon Inspector application data metrics that are collected by the agent.
- Parameters:
telemetryMetadata
- The Amazon Inspector application data metrics that are collected by the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-