Interface AssessmentRunAgent.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AssessmentRunAgent.Builder,AssessmentRunAgent>, SdkBuilder<AssessmentRunAgent.Builder,AssessmentRunAgent>, SdkPojo
Enclosing class:
AssessmentRunAgent

public static interface AssessmentRunAgent.Builder extends SdkPojo, CopyableBuilder<AssessmentRunAgent.Builder,AssessmentRunAgent>
  • Method Details

    • 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

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

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

      AssessmentRunAgent.Builder telemetryMetadata(Consumer<TelemetryMetadata.Builder>... telemetryMetadata)

      The Amazon Inspector application data metrics that are collected by the agent.

      This is a convenience method that creates an instance of the TelemetryMetadata.Builder avoiding the need to create one manually via TelemetryMetadata.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to telemetryMetadata(List<TelemetryMetadata>).

      Parameters:
      telemetryMetadata - a consumer that will call methods on TelemetryMetadata.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: