public static interface AssessmentRunAgent.Builder extends SdkPojo, CopyableBuilder<AssessmentRunAgent.Builder,AssessmentRunAgent>
| Modifier and Type | Method and Description |
|---|---|
AssessmentRunAgent.Builder |
agentHealth(AgentHealth agentHealth)
The current health state of the agent.
|
AssessmentRunAgent.Builder |
agentHealth(String agentHealth)
The current health state of the agent.
|
AssessmentRunAgent.Builder |
agentHealthCode(AgentHealthCode agentHealthCode)
The detailed health state of the agent.
|
AssessmentRunAgent.Builder |
agentHealthCode(String agentHealthCode)
The detailed health state of the agent.
|
AssessmentRunAgent.Builder |
agentHealthDetails(String agentHealthDetails)
The description for the agent health code.
|
AssessmentRunAgent.Builder |
agentId(String agentId)
The AWS account of the EC2 instance where the agent is installed.
|
AssessmentRunAgent.Builder |
assessmentRunArn(String assessmentRunArn)
The ARN of the assessment run that is associated with the agent.
|
AssessmentRunAgent.Builder |
autoScalingGroup(String autoScalingGroup)
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
|
AssessmentRunAgent.Builder |
telemetryMetadata(Collection<TelemetryMetadata> telemetryMetadata)
The Amazon Inspector application data metrics that are collected by the agent.
|
AssessmentRunAgent.Builder |
telemetryMetadata(Consumer<TelemetryMetadata.Builder>... telemetryMetadata)
The Amazon Inspector application data metrics that are collected by the agent.
|
AssessmentRunAgent.Builder |
telemetryMetadata(TelemetryMetadata... telemetryMetadata)
The Amazon Inspector application data metrics that are collected by the agent.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssessmentRunAgent.Builder agentId(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.AssessmentRunAgent.Builder assessmentRunArn(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.AssessmentRunAgent.Builder agentHealth(String agentHealth)
The current health state of the agent.
agentHealth - The current health state of the agent.AgentHealth,
AgentHealthAssessmentRunAgent.Builder agentHealth(AgentHealth agentHealth)
The current health state of the agent.
agentHealth - The current health state of the agent.AgentHealth,
AgentHealthAssessmentRunAgent.Builder agentHealthCode(String agentHealthCode)
The detailed health state of the agent.
agentHealthCode - The detailed health state of the agent.AgentHealthCode,
AgentHealthCodeAssessmentRunAgent.Builder agentHealthCode(AgentHealthCode agentHealthCode)
The detailed health state of the agent.
agentHealthCode - The detailed health state of the agent.AgentHealthCode,
AgentHealthCodeAssessmentRunAgent.Builder agentHealthDetails(String agentHealthDetails)
The description for the agent health code.
agentHealthDetails - The description for the agent health code.AssessmentRunAgent.Builder autoScalingGroup(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.AssessmentRunAgent.Builder telemetryMetadata(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.AssessmentRunAgent.Builder telemetryMetadata(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.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 theTelemetryMetadata.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 - a consumer that will call methods on
TelemetryMetadata.Builder#telemetryMetadata(java.util.Collection) Copyright © 2023. All rights reserved.