public static interface Finding.Builder extends SdkPojo, CopyableBuilder<Finding.Builder,Finding>
| Modifier and Type | Method and Description |
|---|---|
Finding.Builder |
awsAccountId(String awsAccountId)
The Amazon Web Services account ID associated with the finding.
|
Finding.Builder |
description(String description)
The description of the finding.
|
Finding.Builder |
findingArn(String findingArn)
The Amazon Resource Number (ARN) of the finding.
|
Finding.Builder |
firstObservedAt(Instant firstObservedAt)
The date and time that the finding was first observed.
|
Finding.Builder |
inspectorScore(Double inspectorScore)
The Amazon Inspector score given to the finding.
|
default Finding.Builder |
inspectorScoreDetails(Consumer<InspectorScoreDetails.Builder> inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
|
Finding.Builder |
inspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
|
Finding.Builder |
lastObservedAt(Instant lastObservedAt)
The date and time that the finding was last observed.
|
default Finding.Builder |
networkReachabilityDetails(Consumer<NetworkReachabilityDetails.Builder> networkReachabilityDetails)
An object that contains the details of a network reachability finding.
|
Finding.Builder |
networkReachabilityDetails(NetworkReachabilityDetails networkReachabilityDetails)
An object that contains the details of a network reachability finding.
|
default Finding.Builder |
packageVulnerabilityDetails(Consumer<PackageVulnerabilityDetails.Builder> packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
|
Finding.Builder |
packageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
|
default Finding.Builder |
remediation(Consumer<Remediation.Builder> remediation)
An object that contains the details about how to remediate a finding.
|
Finding.Builder |
remediation(Remediation remediation)
An object that contains the details about how to remediate a finding.
|
Finding.Builder |
resources(Collection<Resource> resources)
Contains information on the resources involved in a finding.
|
Finding.Builder |
resources(Consumer<Resource.Builder>... resources)
Contains information on the resources involved in a finding.
|
Finding.Builder |
resources(Resource... resources)
Contains information on the resources involved in a finding.
|
Finding.Builder |
severity(Severity severity)
The severity of the finding.
|
Finding.Builder |
severity(String severity)
The severity of the finding.
|
Finding.Builder |
status(FindingStatus status)
The status of the finding.
|
Finding.Builder |
status(String status)
The status of the finding.
|
Finding.Builder |
title(String title)
The title of the finding.
|
Finding.Builder |
type(FindingType type)
The type of the finding.
|
Finding.Builder |
type(String type)
The type of the finding.
|
Finding.Builder |
updatedAt(Instant updatedAt)
The date and time the finding was last updated at.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFinding.Builder awsAccountId(String awsAccountId)
The Amazon Web Services account ID associated with the finding.
awsAccountId - The Amazon Web Services account ID associated with the finding.Finding.Builder description(String description)
The description of the finding.
description - The description of the finding.Finding.Builder findingArn(String findingArn)
The Amazon Resource Number (ARN) of the finding.
findingArn - The Amazon Resource Number (ARN) of the finding.Finding.Builder firstObservedAt(Instant firstObservedAt)
The date and time that the finding was first observed.
firstObservedAt - The date and time that the finding was first observed.Finding.Builder inspectorScore(Double inspectorScore)
The Amazon Inspector score given to the finding.
inspectorScore - The Amazon Inspector score given to the finding.Finding.Builder inspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
inspectorScoreDetails - An object that contains details of the Amazon Inspector score.default Finding.Builder inspectorScoreDetails(Consumer<InspectorScoreDetails.Builder> inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
This is a convenience method that creates an instance of theInspectorScoreDetails.Builder avoiding
the need to create one manually via InspectorScoreDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to inspectorScoreDetails(InspectorScoreDetails).inspectorScoreDetails - a consumer that will call methods on InspectorScoreDetails.BuilderinspectorScoreDetails(InspectorScoreDetails)Finding.Builder lastObservedAt(Instant lastObservedAt)
The date and time that the finding was last observed.
lastObservedAt - The date and time that the finding was last observed.Finding.Builder networkReachabilityDetails(NetworkReachabilityDetails networkReachabilityDetails)
An object that contains the details of a network reachability finding.
networkReachabilityDetails - An object that contains the details of a network reachability finding.default Finding.Builder networkReachabilityDetails(Consumer<NetworkReachabilityDetails.Builder> networkReachabilityDetails)
An object that contains the details of a network reachability finding.
This is a convenience method that creates an instance of theNetworkReachabilityDetails.Builder
avoiding the need to create one manually via NetworkReachabilityDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to networkReachabilityDetails(NetworkReachabilityDetails).networkReachabilityDetails - a consumer that will call methods on NetworkReachabilityDetails.BuildernetworkReachabilityDetails(NetworkReachabilityDetails)Finding.Builder packageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
packageVulnerabilityDetails - An object that contains the details of a package vulnerability finding.default Finding.Builder packageVulnerabilityDetails(Consumer<PackageVulnerabilityDetails.Builder> packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
This is a convenience method that creates an instance of thePackageVulnerabilityDetails.Builder
avoiding the need to create one manually via PackageVulnerabilityDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to packageVulnerabilityDetails(PackageVulnerabilityDetails).packageVulnerabilityDetails - a consumer that will call methods on PackageVulnerabilityDetails.BuilderpackageVulnerabilityDetails(PackageVulnerabilityDetails)Finding.Builder remediation(Remediation remediation)
An object that contains the details about how to remediate a finding.
remediation - An object that contains the details about how to remediate a finding.default Finding.Builder remediation(Consumer<Remediation.Builder> remediation)
An object that contains the details about how to remediate a finding.
This is a convenience method that creates an instance of theRemediation.Builder avoiding the need to
create one manually via Remediation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to remediation(Remediation).remediation - a consumer that will call methods on Remediation.Builderremediation(Remediation)Finding.Builder resources(Collection<Resource> resources)
Contains information on the resources involved in a finding.
resources - Contains information on the resources involved in a finding.Finding.Builder resources(Resource... resources)
Contains information on the resources involved in a finding.
resources - Contains information on the resources involved in a finding.Finding.Builder resources(Consumer<Resource.Builder>... resources)
Contains information on the resources involved in a finding.
This is a convenience method 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 #resources(List) .resources - a consumer that will call methods on List.Builder #resources(List) Finding.Builder severity(String severity)
The severity of the finding.
Finding.Builder severity(Severity severity)
The severity of the finding.
Finding.Builder status(String status)
The status of the finding.
status - The status of the finding.FindingStatus,
FindingStatusFinding.Builder status(FindingStatus status)
The status of the finding.
status - The status of the finding.FindingStatus,
FindingStatusFinding.Builder title(String title)
The title of the finding.
title - The title of the finding.Finding.Builder type(String type)
The type of the finding.
type - The type of the finding.FindingType,
FindingTypeFinding.Builder type(FindingType type)
The type of the finding.
type - The type of the finding.FindingType,
FindingTypeFinding.Builder updatedAt(Instant updatedAt)
The date and time the finding was last updated at.
updatedAt - The date and time the finding was last updated at.Copyright © 2022. All rights reserved.