public static interface AssessmentRunAgent.Builder extends 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.
|
copy
applyMutation, build
AssessmentRunAgent.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
,
AgentHealth
AssessmentRunAgent.Builder agentHealth(AgentHealth agentHealth)
The current health state of the agent.
agentHealth
- The current health state of the agent.AgentHealth
,
AgentHealth
AssessmentRunAgent.Builder agentHealthCode(String agentHealthCode)
The detailed health state of the agent.
agentHealthCode
- The detailed health state of the agent.AgentHealthCode
,
AgentHealthCode
AssessmentRunAgent.Builder agentHealthCode(AgentHealthCode agentHealthCode)
The detailed health state of the agent.
agentHealthCode
- The detailed health state of the agent.AgentHealthCode
,
AgentHealthCode
AssessmentRunAgent.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 that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #telemetryMetadata(List)
.telemetryMetadata
- a consumer that will call methods on List.Builder
#telemetryMetadata(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.