Interface AssessmentRunAgent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssessmentRunAgent.Builder,
,AssessmentRunAgent> SdkBuilder<AssessmentRunAgent.Builder,
,AssessmentRunAgent> SdkPojo
- Enclosing class:
AssessmentRunAgent
-
Method Summary
Modifier and TypeMethodDescriptionagentHealth
(String agentHealth) The current health state of the agent.agentHealth
(AgentHealth agentHealth) The current health state of the agent.agentHealthCode
(String agentHealthCode) The detailed health state of the agent.agentHealthCode
(AgentHealthCode agentHealthCode) The detailed health state of the agent.agentHealthDetails
(String agentHealthDetails) The description for the agent health code.The AWS account of the EC2 instance where the agent is installed.assessmentRunArn
(String assessmentRunArn) The ARN of the assessment run that is associated with the agent.autoScalingGroup
(String autoScalingGroup) The Auto Scaling group of the EC2 instance that is specified by the agent ID.telemetryMetadata
(Collection<TelemetryMetadata> telemetryMetadata) The Amazon Inspector application data metrics that are collected by the agent.telemetryMetadata
(Consumer<TelemetryMetadata.Builder>... telemetryMetadata) The Amazon Inspector application data metrics that are collected by the agent.telemetryMetadata
(TelemetryMetadata... telemetryMetadata) The Amazon Inspector application data metrics that are collected by the agent.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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
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
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
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
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
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
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 theTelemetryMetadata.Builder
avoiding the need to create one manually viaTelemetryMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totelemetryMetadata(List<TelemetryMetadata>)
.- Parameters:
telemetryMetadata
- a consumer that will call methods onTelemetryMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-