Interface AssessmentRunAgent.Builder

    • Method Detail

      • agentId

        AssessmentRunAgent.Builder agentId​(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.
      • assessmentRunArn

        AssessmentRunAgent.Builder assessmentRunArn​(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.
      • agentHealth

        AssessmentRunAgent.Builder agentHealth​(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, AgentHealth
      • agentHealth

        AssessmentRunAgent.Builder agentHealth​(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, AgentHealth
      • agentHealthCode

        AssessmentRunAgent.Builder agentHealthCode​(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, AgentHealthCode
      • agentHealthDetails

        AssessmentRunAgent.Builder agentHealthDetails​(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.
      • autoScalingGroup

        AssessmentRunAgent.Builder autoScalingGroup​(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.
      • telemetryMetadata

        AssessmentRunAgent.Builder telemetryMetadata​(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.
      • telemetryMetadata

        AssessmentRunAgent.Builder telemetryMetadata​(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.