Interface Finding.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Finding.Builder,,Finding> SdkBuilder<Finding.Builder,,Finding> SdkPojo
- Enclosing class:
Finding
-
Method Summary
Modifier and TypeMethodDescriptionA user-provided comment about the finding.description(String description) Sets the value of the Description property for this object.failureCategory(String failureCategory) The failure category of the finding.failureCategory(FailureCategory failureCategory) The failure category of the finding.The unique identifier of the finding.infrastructureAndCodeRecommendations(Collection<InfrastructureAndCodeRecommendation> infrastructureAndCodeRecommendations) Infrastructure and code recommendations to address the finding.infrastructureAndCodeRecommendations(Consumer<InfrastructureAndCodeRecommendation.Builder>... infrastructureAndCodeRecommendations) Infrastructure and code recommendations to address the finding.infrastructureAndCodeRecommendations(InfrastructureAndCodeRecommendation... infrastructureAndCodeRecommendations) Infrastructure and code recommendations to address the finding.The name of the finding.observabilityRecommendations(Collection<ObservabilityRecommendation> observabilityRecommendations) Observability recommendations to address the finding.observabilityRecommendations(Consumer<ObservabilityRecommendation.Builder>... observabilityRecommendations) Observability recommendations to address the finding.observabilityRecommendations(ObservabilityRecommendation... observabilityRecommendations) Observability recommendations to address the finding.policyComponent(String policyComponent) The policy component associated with the finding.policyComponent(PolicyComponent policyComponent) The policy component associated with the finding.The reasoning behind the finding.serviceFunctions(String... serviceFunctions) The service functions associated with the finding.serviceFunctions(Collection<String> serviceFunctions) The service functions associated with the finding.The severity of the finding.severity(FindingSeverity severity) The severity of the finding.The current status of the finding.status(FindingStatus status) The current status of the finding.testingRecommendations(Collection<TestingRecommendation> testingRecommendations) Testing recommendations to address the finding.testingRecommendations(Consumer<TestingRecommendation.Builder>... testingRecommendations) Testing recommendations to address the finding.testingRecommendations(TestingRecommendation... testingRecommendations) Testing recommendations to address the finding.The timestamp when the finding was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
findingId
The unique identifier of the finding.
- Parameters:
findingId- The unique identifier of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the finding.
- Parameters:
name- The name of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCategory
The failure category of the finding.
- Parameters:
failureCategory- The failure category of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCategory
The failure category of the finding.
- Parameters:
failureCategory- The failure category of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the finding.
- Parameters:
status- The current status of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the finding.
- Parameters:
status- The current status of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reasoning
The reasoning behind the finding.
- Parameters:
reasoning- The reasoning behind the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
A user-provided comment about the finding.
- Parameters:
comment- A user-provided comment about the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
The severity of the finding.
- Parameters:
severity- The severity of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The severity of the finding.
- Parameters:
severity- The severity of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceFunctions
The service functions associated with the finding.
- Parameters:
serviceFunctions- The service functions associated with the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceFunctions
The service functions associated with the finding.
- Parameters:
serviceFunctions- The service functions associated with the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyComponent
The policy component associated with the finding.
- Parameters:
policyComponent- The policy component associated with the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyComponent
The policy component associated with the finding.
- Parameters:
policyComponent- The policy component associated with the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
infrastructureAndCodeRecommendations
Finding.Builder infrastructureAndCodeRecommendations(Collection<InfrastructureAndCodeRecommendation> infrastructureAndCodeRecommendations) Infrastructure and code recommendations to address the finding.
- Parameters:
infrastructureAndCodeRecommendations- Infrastructure and code recommendations to address the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infrastructureAndCodeRecommendations
Finding.Builder infrastructureAndCodeRecommendations(InfrastructureAndCodeRecommendation... infrastructureAndCodeRecommendations) Infrastructure and code recommendations to address the finding.
- Parameters:
infrastructureAndCodeRecommendations- Infrastructure and code recommendations to address the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infrastructureAndCodeRecommendations
Finding.Builder infrastructureAndCodeRecommendations(Consumer<InfrastructureAndCodeRecommendation.Builder>... infrastructureAndCodeRecommendations) Infrastructure and code recommendations to address the finding.
This is a convenience method that creates an instance of theInfrastructureAndCodeRecommendation.Builderavoiding the need to create one manually viaInfrastructureAndCodeRecommendation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinfrastructureAndCodeRecommendations(List<InfrastructureAndCodeRecommendation>).- Parameters:
infrastructureAndCodeRecommendations- a consumer that will call methods onInfrastructureAndCodeRecommendation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
observabilityRecommendations
Finding.Builder observabilityRecommendations(Collection<ObservabilityRecommendation> observabilityRecommendations) Observability recommendations to address the finding.
- Parameters:
observabilityRecommendations- Observability recommendations to address the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
observabilityRecommendations
Finding.Builder observabilityRecommendations(ObservabilityRecommendation... observabilityRecommendations) Observability recommendations to address the finding.
- Parameters:
observabilityRecommendations- Observability recommendations to address the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
observabilityRecommendations
Finding.Builder observabilityRecommendations(Consumer<ObservabilityRecommendation.Builder>... observabilityRecommendations) Observability recommendations to address the finding.
This is a convenience method that creates an instance of theObservabilityRecommendation.Builderavoiding the need to create one manually viaObservabilityRecommendation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobservabilityRecommendations(List<ObservabilityRecommendation>).- Parameters:
observabilityRecommendations- a consumer that will call methods onObservabilityRecommendation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testingRecommendations
Testing recommendations to address the finding.
- Parameters:
testingRecommendations- Testing recommendations to address the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testingRecommendations
Testing recommendations to address the finding.
- Parameters:
testingRecommendations- Testing recommendations to address the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testingRecommendations
Finding.Builder testingRecommendations(Consumer<TestingRecommendation.Builder>... testingRecommendations) Testing recommendations to address the finding.
This is a convenience method that creates an instance of theTestingRecommendation.Builderavoiding the need to create one manually viaTestingRecommendation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestingRecommendations(List<TestingRecommendation>).- Parameters:
testingRecommendations- a consumer that will call methods onTestingRecommendation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The timestamp when the finding was last updated.
- Parameters:
updatedAt- The timestamp when the finding was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-