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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssessmentRunAgent.BuilderagentHealth(String agentHealth)The current health state of the agent.AssessmentRunAgent.BuilderagentHealth(AgentHealth agentHealth)The current health state of the agent.AssessmentRunAgent.BuilderagentHealthCode(String agentHealthCode)The detailed health state of the agent.AssessmentRunAgent.BuilderagentHealthCode(AgentHealthCode agentHealthCode)The detailed health state of the agent.AssessmentRunAgent.BuilderagentHealthDetails(String agentHealthDetails)The description for the agent health code.AssessmentRunAgent.BuilderagentId(String agentId)The AWS account of the EC2 instance where the agent is installed.AssessmentRunAgent.BuilderassessmentRunArn(String assessmentRunArn)The ARN of the assessment run that is associated with the agent.AssessmentRunAgent.BuilderautoScalingGroup(String autoScalingGroup)The Auto Scaling group of the EC2 instance that is specified by the agent ID.AssessmentRunAgent.BuildertelemetryMetadata(Collection<TelemetryMetadata> telemetryMetadata)The Amazon Inspector application data metrics that are collected by the agent.AssessmentRunAgent.BuildertelemetryMetadata(Consumer<TelemetryMetadata.Builder>... telemetryMetadata)The Amazon Inspector application data metrics that are collected by the agent.AssessmentRunAgent.BuildertelemetryMetadata(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 Detail
-
agentId
AssessmentRunAgent.Builder agentId(String 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,AgentHealth
-
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:
AgentHealth,AgentHealth
-
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,AgentHealthCode
-
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:
AgentHealthCode,AgentHealthCode
-
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 theTelemetryMetadata.Builderavoiding the need to create one manually viaTelemetryMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#telemetryMetadata(List.) - 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:
#telemetryMetadata(java.util.Collection)
-
-