CopyableBuilder<AssessmentRunAgent.Builder,AssessmentRunAgent>
, SdkBuilder<AssessmentRunAgent.Builder,AssessmentRunAgent>
public static interface AssessmentRunAgent.Builder extends CopyableBuilder<AssessmentRunAgent.Builder,AssessmentRunAgent>
Modifier and Type | Method | Description |
---|---|---|
AssessmentRunAgent.Builder |
agentHealth(String agentHealth) |
The current health state of the agent.
|
AssessmentRunAgent.Builder |
agentHealth(AgentHealth agentHealth) |
The current health state of the agent.
|
AssessmentRunAgent.Builder |
agentHealthCode(String agentHealthCode) |
The detailed health state of the agent.
|
AssessmentRunAgent.Builder |
agentHealthCode(AgentHealthCode 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(TelemetryMetadata... telemetryMetadata) |
The Amazon Inspector application data metrics that are collected by the agent.
|
copy
apply, 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
AssessmentRunAgent.Builder agentHealth(AgentHealth agentHealth)
The current health state of the agent.
agentHealth
- The current health state of the agent.AgentHealth
AssessmentRunAgent.Builder agentHealthCode(String agentHealthCode)
The detailed health state of the agent.
agentHealthCode
- The detailed health state of the agent.AgentHealthCode
AssessmentRunAgent.Builder agentHealthCode(AgentHealthCode agentHealthCode)
The detailed health state of the agent.
agentHealthCode
- The detailed health state of the agent.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.
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.
telemetryMetadata
- The Amazon Inspector application data metrics that are collected by the agent.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.