Class AssessmentRunAgent

    • Constructor Detail

      • AssessmentRunAgent

        public AssessmentRunAgent()
    • Method Detail

      • setAgentId

        public void setAgentId​(String agentId)

        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

        public String 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

        public AssessmentRunAgent withAgentId​(String agentId)

        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

        public void setAssessmentRunArn​(String assessmentRunArn)

        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

        public String 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

        public AssessmentRunAgent withAssessmentRunArn​(String assessmentRunArn)

        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

        public void setAgentHealth​(String agentHealth)

        The current health state of the agent.

        Parameters:
        agentHealth - The current health state of the agent.
        See Also:
        AgentHealth
      • getAgentHealth

        public String getAgentHealth()

        The current health state of the agent.

        Returns:
        The current health state of the agent.
        See Also:
        AgentHealth
      • withAgentHealth

        public AssessmentRunAgent withAgentHealth​(String agentHealth)

        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:
        AgentHealth
      • setAgentHealth

        public void setAgentHealth​(AgentHealth agentHealth)

        The current health state of the agent.

        Parameters:
        agentHealth - The current health state of the agent.
        See Also:
        AgentHealth
      • withAgentHealth

        public AssessmentRunAgent withAgentHealth​(AgentHealth agentHealth)

        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:
        AgentHealth
      • setAgentHealthCode

        public void setAgentHealthCode​(String agentHealthCode)

        The detailed health state of the agent.

        Parameters:
        agentHealthCode - The detailed health state of the agent.
        See Also:
        AgentHealthCode
      • getAgentHealthCode

        public String getAgentHealthCode()

        The detailed health state of the agent.

        Returns:
        The detailed health state of the agent.
        See Also:
        AgentHealthCode
      • withAgentHealthCode

        public AssessmentRunAgent withAgentHealthCode​(String agentHealthCode)

        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:
        AgentHealthCode
      • setAgentHealthCode

        public void setAgentHealthCode​(AgentHealthCode agentHealthCode)

        The detailed health state of the agent.

        Parameters:
        agentHealthCode - The detailed health state of the agent.
        See Also:
        AgentHealthCode
      • withAgentHealthCode

        public AssessmentRunAgent withAgentHealthCode​(AgentHealthCode agentHealthCode)

        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:
        AgentHealthCode
      • setAgentHealthDetails

        public void setAgentHealthDetails​(String agentHealthDetails)

        The description for the agent health code.

        Parameters:
        agentHealthDetails - The description for the agent health code.
      • getAgentHealthDetails

        public String getAgentHealthDetails()

        The description for the agent health code.

        Returns:
        The description for the agent health code.
      • withAgentHealthDetails

        public AssessmentRunAgent withAgentHealthDetails​(String agentHealthDetails)

        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

        public void setAutoScalingGroup​(String autoScalingGroup)

        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

        public String 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

        public AssessmentRunAgent withAutoScalingGroup​(String autoScalingGroup)

        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

        public List<TelemetryMetadata> 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

        public void setTelemetryMetadata​(Collection<TelemetryMetadata> telemetryMetadata)

        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

        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.

        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

        public AssessmentRunAgent withTelemetryMetadata​(Collection<TelemetryMetadata> telemetryMetadata)

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object