Interface Finding.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Finding.Builder,
,Finding> SdkBuilder<Finding.Builder,
,Finding> SdkPojo
- Enclosing class:
Finding
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The Amazon Web Services account ID associated with the finding.default Finding.Builder
codeVulnerabilityDetails
(Consumer<CodeVulnerabilityDetails.Builder> codeVulnerabilityDetails) Details about the code vulnerability identified in a Lambda function used to filter findings.codeVulnerabilityDetails
(CodeVulnerabilityDetails codeVulnerabilityDetails) Details about the code vulnerability identified in a Lambda function used to filter findings.description
(String description) The description of the finding.default Finding.Builder
epss
(Consumer<EpssDetails.Builder> epss) The finding's EPSS score.epss
(EpssDetails epss) The finding's EPSS score.default Finding.Builder
exploitabilityDetails
(Consumer<ExploitabilityDetails.Builder> exploitabilityDetails) The details of an exploit available for a finding discovered in your environment.exploitabilityDetails
(ExploitabilityDetails exploitabilityDetails) The details of an exploit available for a finding discovered in your environment.exploitAvailable
(String exploitAvailable) If a finding discovered in your environment has an exploit available.exploitAvailable
(ExploitAvailable exploitAvailable) If a finding discovered in your environment has an exploit available.findingArn
(String findingArn) The Amazon Resource Number (ARN) of the finding.firstObservedAt
(Instant firstObservedAt) The date and time that the finding was first observed.fixAvailable
(String fixAvailable) Details on whether a fix is available through a version update.fixAvailable
(FixAvailable fixAvailable) Details on whether a fix is available through a version update.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.inspectorScoreDetails
(InspectorScoreDetails inspectorScoreDetails) An object that contains details of the Amazon Inspector score.lastObservedAt
(Instant lastObservedAt) The date and time the finding was last observed.default Finding.Builder
networkReachabilityDetails
(Consumer<NetworkReachabilityDetails.Builder> networkReachabilityDetails) An object that contains the details of a network reachability finding.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.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.remediation
(Remediation remediation) An object that contains the details about how to remediate a finding.resources
(Collection<Resource> resources) Contains information on the resources involved in a finding.resources
(Consumer<Resource.Builder>... resources) Contains information on the resources involved in a finding.Contains information on the resources involved in a finding.The severity of the finding.The severity of the finding.The status of the finding.status
(FindingStatus status) The status of the finding.The title of the finding.The type of the finding.type
(FindingType type) The type of the finding.The date and time the finding was last updated at.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, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The Amazon Web Services account ID associated with the finding.
- Parameters:
awsAccountId
- The Amazon Web Services account ID associated with the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeVulnerabilityDetails
Details about the code vulnerability identified in a Lambda function used to filter findings.
- Parameters:
codeVulnerabilityDetails
- Details about the code vulnerability identified in a Lambda function used to filter findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeVulnerabilityDetails
default Finding.Builder codeVulnerabilityDetails(Consumer<CodeVulnerabilityDetails.Builder> codeVulnerabilityDetails) Details about the code vulnerability identified in a Lambda function used to filter findings.
This is a convenience method that creates an instance of theCodeVulnerabilityDetails.Builder
avoiding the need to create one manually viaCodeVulnerabilityDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocodeVulnerabilityDetails(CodeVulnerabilityDetails)
.- Parameters:
codeVulnerabilityDetails
- a consumer that will call methods onCodeVulnerabilityDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the finding.
- Parameters:
description
- The description of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
epss
The finding's EPSS score.
- Parameters:
epss
- The finding's EPSS score.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
epss
The finding's EPSS score.
This is a convenience method that creates an instance of theEpssDetails.Builder
avoiding the need to create one manually viaEpssDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toepss(EpssDetails)
.- Parameters:
epss
- a consumer that will call methods onEpssDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exploitAvailable
If a finding discovered in your environment has an exploit available.
- Parameters:
exploitAvailable
- If a finding discovered in your environment has an exploit available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exploitAvailable
If a finding discovered in your environment has an exploit available.
- Parameters:
exploitAvailable
- If a finding discovered in your environment has an exploit available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exploitabilityDetails
The details of an exploit available for a finding discovered in your environment.
- Parameters:
exploitabilityDetails
- The details of an exploit available for a finding discovered in your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exploitabilityDetails
default Finding.Builder exploitabilityDetails(Consumer<ExploitabilityDetails.Builder> exploitabilityDetails) The details of an exploit available for a finding discovered in your environment.
This is a convenience method that creates an instance of theExploitabilityDetails.Builder
avoiding the need to create one manually viaExploitabilityDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexploitabilityDetails(ExploitabilityDetails)
.- Parameters:
exploitabilityDetails
- a consumer that will call methods onExploitabilityDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
findingArn
The Amazon Resource Number (ARN) of the finding.
- Parameters:
findingArn
- The Amazon Resource Number (ARN) of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstObservedAt
The date and time that the finding was first observed.
- Parameters:
firstObservedAt
- The date and time that the finding was first observed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixAvailable
Details on whether a fix is available through a version update. This value can be
YES
,NO
, orPARTIAL
. APARTIAL
fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.- Parameters:
fixAvailable
- Details on whether a fix is available through a version update. This value can beYES
,NO
, orPARTIAL
. APARTIAL
fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fixAvailable
Details on whether a fix is available through a version update. This value can be
YES
,NO
, orPARTIAL
. APARTIAL
fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.- Parameters:
fixAvailable
- Details on whether a fix is available through a version update. This value can beYES
,NO
, orPARTIAL
. APARTIAL
fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inspectorScore
The Amazon Inspector score given to the finding.
- Parameters:
inspectorScore
- The Amazon Inspector score given to the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inspectorScoreDetails
An object that contains details of the Amazon Inspector score.
- Parameters:
inspectorScoreDetails
- An object that contains details of the Amazon Inspector score.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inspectorScoreDetails
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 viaInspectorScoreDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinspectorScoreDetails(InspectorScoreDetails)
.- Parameters:
inspectorScoreDetails
- a consumer that will call methods onInspectorScoreDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastObservedAt
The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.
- Parameters:
lastObservedAt
- The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkReachabilityDetails
An object that contains the details of a network reachability finding.
- Parameters:
networkReachabilityDetails
- An object that contains the details of a network reachability finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkReachabilityDetails
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 viaNetworkReachabilityDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkReachabilityDetails(NetworkReachabilityDetails)
.- Parameters:
networkReachabilityDetails
- a consumer that will call methods onNetworkReachabilityDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packageVulnerabilityDetails
Finding.Builder packageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails) An object that contains the details of a package vulnerability finding.
- Parameters:
packageVulnerabilityDetails
- An object that contains the details of a package vulnerability finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageVulnerabilityDetails
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 viaPackageVulnerabilityDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topackageVulnerabilityDetails(PackageVulnerabilityDetails)
.- Parameters:
packageVulnerabilityDetails
- a consumer that will call methods onPackageVulnerabilityDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remediation
An object that contains the details about how to remediate a finding.
- Parameters:
remediation
- An object that contains the details about how to remediate a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRemediation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toremediation(Remediation)
.- Parameters:
remediation
- a consumer that will call methods onRemediation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resources
Contains information on the resources involved in a finding. The
resource
value determines the valid values fortype
in your request. For more information, see Finding types in the Amazon Inspector user guide.- Parameters:
resources
- Contains information on the resources involved in a finding. Theresource
value determines the valid values fortype
in your request. For more information, see Finding types in the Amazon Inspector user guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Contains information on the resources involved in a finding. The
resource
value determines the valid values fortype
in your request. For more information, see Finding types in the Amazon Inspector user guide.- Parameters:
resources
- Contains information on the resources involved in a finding. Theresource
value determines the valid values fortype
in your request. For more information, see Finding types in the Amazon Inspector user guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Contains information on the resources involved in a finding. The
This is a convenience method that creates an instance of theresource
value determines the valid values fortype
in your request. For more information, see Finding types in the Amazon Inspector user guide.Resource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<Resource>)
.- Parameters:
resources
- a consumer that will call methods onResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The severity of the finding.
UNTRIAGED
applies toPACKAGE_VULNERABILITY
type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.- Parameters:
severity
- The severity of the finding.UNTRIAGED
applies toPACKAGE_VULNERABILITY
type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The severity of the finding.
UNTRIAGED
applies toPACKAGE_VULNERABILITY
type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.- Parameters:
severity
- The severity of the finding.UNTRIAGED
applies toPACKAGE_VULNERABILITY
type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the finding.
- Parameters:
status
- The status of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the finding.
- Parameters:
status
- The status of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
title
The title of the finding.
- Parameters:
title
- The title of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the finding. The
type
value determines the valid values forresource
in your request. For more information, see Finding types in the Amazon Inspector user guide.- Parameters:
type
- The type of the finding. Thetype
value determines the valid values forresource
in your request. For more information, see Finding types in the Amazon Inspector user guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the finding. The
type
value determines the valid values forresource
in your request. For more information, see Finding types in the Amazon Inspector user guide.- Parameters:
type
- The type of the finding. Thetype
value determines the valid values forresource
in your request. For more information, see Finding types in the Amazon Inspector user guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The date and time the finding was last updated at.
- Parameters:
updatedAt
- The date and time the finding was last updated at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-