Interface Finding.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Finding.Builder,Finding>,SdkBuilder<Finding.Builder,Finding>,SdkPojo
- Enclosing class:
- Finding
public static interface Finding.Builder extends SdkPojo, CopyableBuilder<Finding.Builder,Finding>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Finding.BuilderawsAccountId(String awsAccountId)The Amazon Web Services account ID associated with the finding.default Finding.BuildercodeVulnerabilityDetails(Consumer<CodeVulnerabilityDetails.Builder> codeVulnerabilityDetails)Details about the code vulnerability identified in a Lambda function used to filter findings.Finding.BuildercodeVulnerabilityDetails(CodeVulnerabilityDetails codeVulnerabilityDetails)Details about the code vulnerability identified in a Lambda function used to filter findings.Finding.Builderdescription(String description)The description of the finding.default Finding.Builderepss(Consumer<EpssDetails.Builder> epss)The finding's EPSS score.Finding.Builderepss(EpssDetails epss)The finding's EPSS score.default Finding.BuilderexploitabilityDetails(Consumer<ExploitabilityDetails.Builder> exploitabilityDetails)The details of an exploit available for a finding discovered in your environment.Finding.BuilderexploitabilityDetails(ExploitabilityDetails exploitabilityDetails)The details of an exploit available for a finding discovered in your environment.Finding.BuilderexploitAvailable(String exploitAvailable)If a finding discovered in your environment has an exploit available.Finding.BuilderexploitAvailable(ExploitAvailable exploitAvailable)If a finding discovered in your environment has an exploit available.Finding.BuilderfindingArn(String findingArn)The Amazon Resource Number (ARN) of the finding.Finding.BuilderfirstObservedAt(Instant firstObservedAt)The date and time that the finding was first observed.Finding.BuilderfixAvailable(String fixAvailable)Details on whether a fix is available through a version update.Finding.BuilderfixAvailable(FixAvailable fixAvailable)Details on whether a fix is available through a version update.Finding.BuilderinspectorScore(Double inspectorScore)The Amazon Inspector score given to the finding.default Finding.BuilderinspectorScoreDetails(Consumer<InspectorScoreDetails.Builder> inspectorScoreDetails)An object that contains details of the Amazon Inspector score.Finding.BuilderinspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)An object that contains details of the Amazon Inspector score.Finding.BuilderlastObservedAt(Instant lastObservedAt)The date and time that the finding was last observed.default Finding.BuildernetworkReachabilityDetails(Consumer<NetworkReachabilityDetails.Builder> networkReachabilityDetails)An object that contains the details of a network reachability finding.Finding.BuildernetworkReachabilityDetails(NetworkReachabilityDetails networkReachabilityDetails)An object that contains the details of a network reachability finding.default Finding.BuilderpackageVulnerabilityDetails(Consumer<PackageVulnerabilityDetails.Builder> packageVulnerabilityDetails)An object that contains the details of a package vulnerability finding.Finding.BuilderpackageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)An object that contains the details of a package vulnerability finding.default Finding.Builderremediation(Consumer<Remediation.Builder> remediation)An object that contains the details about how to remediate a finding.Finding.Builderremediation(Remediation remediation)An object that contains the details about how to remediate a finding.Finding.Builderresources(Collection<Resource> resources)Contains information on the resources involved in a finding.Finding.Builderresources(Consumer<Resource.Builder>... resources)Contains information on the resources involved in a finding.Finding.Builderresources(Resource... resources)Contains information on the resources involved in a finding.Finding.Builderseverity(String severity)The severity of the finding.Finding.Builderseverity(Severity severity)The severity of the finding.Finding.Builderstatus(String status)The status of the finding.Finding.Builderstatus(FindingStatus status)The status of the finding.Finding.Buildertitle(String title)The title of the finding.Finding.Buildertype(String type)The type of the finding.Finding.Buildertype(FindingType type)The type of the finding.Finding.BuilderupdatedAt(Instant updatedAt)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, sdkFields
-
-
-
-
Method Detail
-
awsAccountId
Finding.Builder awsAccountId(String 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
Finding.Builder codeVulnerabilityDetails(CodeVulnerabilityDetails 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.Builderavoiding the need to create one manually viaCodeVulnerabilityDetails.builder().When the
Consumercompletes,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:
codeVulnerabilityDetails(CodeVulnerabilityDetails)
-
description
Finding.Builder description(String 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
Finding.Builder epss(EpssDetails 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
default Finding.Builder epss(Consumer<EpssDetails.Builder> epss)
The finding's EPSS score.
This is a convenience method that creates an instance of theEpssDetails.Builderavoiding the need to create one manually viaEpssDetails.builder().When the
Consumercompletes,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:
epss(EpssDetails)
-
exploitAvailable
Finding.Builder exploitAvailable(String 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,ExploitAvailable
-
exploitAvailable
Finding.Builder exploitAvailable(ExploitAvailable 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,ExploitAvailable
-
exploitabilityDetails
Finding.Builder exploitabilityDetails(ExploitabilityDetails 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.Builderavoiding the need to create one manually viaExploitabilityDetails.builder().When the
Consumercompletes,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:
exploitabilityDetails(ExploitabilityDetails)
-
findingArn
Finding.Builder findingArn(String 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
Finding.Builder firstObservedAt(Instant 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
Finding.Builder fixAvailable(String fixAvailable)
Details on whether a fix is available through a version update. This value can be
YES,NO, orPARTIAL. APARTIALfix 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. APARTIALfix 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,FixAvailable
-
fixAvailable
Finding.Builder fixAvailable(FixAvailable fixAvailable)
Details on whether a fix is available through a version update. This value can be
YES,NO, orPARTIAL. APARTIALfix 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. APARTIALfix 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,FixAvailable
-
inspectorScore
Finding.Builder inspectorScore(Double 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
Finding.Builder inspectorScoreDetails(InspectorScoreDetails 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.Builderavoiding the need to create one manually viaInspectorScoreDetails.builder().When the
Consumercompletes,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:
inspectorScoreDetails(InspectorScoreDetails)
-
lastObservedAt
Finding.Builder lastObservedAt(Instant lastObservedAt)
The date and time that the finding was last observed.
- Parameters:
lastObservedAt- The date and time that the finding was last observed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkReachabilityDetails
Finding.Builder networkReachabilityDetails(NetworkReachabilityDetails 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.Builderavoiding the need to create one manually viaNetworkReachabilityDetails.builder().When the
Consumercompletes,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:
networkReachabilityDetails(NetworkReachabilityDetails)
-
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.Builderavoiding the need to create one manually viaPackageVulnerabilityDetails.builder().When the
Consumercompletes,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:
packageVulnerabilityDetails(PackageVulnerabilityDetails)
-
remediation
Finding.Builder remediation(Remediation 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
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.Builderavoiding the need to create one manually viaRemediation.builder().When the
Consumercompletes,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:
remediation(Remediation)
-
resources
Finding.Builder resources(Collection<Resource> resources)
Contains information on the resources involved in a finding. The
resourcevalue determines the valid values fortypein 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. Theresourcevalue determines the valid values fortypein 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
Finding.Builder resources(Resource... resources)
Contains information on the resources involved in a finding. The
resourcevalue determines the valid values fortypein 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. Theresourcevalue determines the valid values fortypein 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
Finding.Builder resources(Consumer<Resource.Builder>... resources)
Contains information on the resources involved in a finding. The
This is a convenience method that creates an instance of theresourcevalue determines the valid values fortypein your request. For more information, see Finding types in the Amazon Inspector user guide.Resource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resources(List.) - 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:
#resources(java.util.Collection)
-
severity
Finding.Builder severity(String severity)
The severity of the finding.
UNTRIAGEDapplies toPACKAGE_VULNERABILITYtype 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.UNTRIAGEDapplies toPACKAGE_VULNERABILITYtype 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,Severity
-
severity
Finding.Builder severity(Severity severity)
The severity of the finding.
UNTRIAGEDapplies toPACKAGE_VULNERABILITYtype 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.UNTRIAGEDapplies toPACKAGE_VULNERABILITYtype 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,Severity
-
status
Finding.Builder status(String 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:
FindingStatus,FindingStatus
-
status
Finding.Builder status(FindingStatus 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:
FindingStatus,FindingStatus
-
title
Finding.Builder title(String 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
Finding.Builder type(String type)
The type of the finding. The
typevalue determines the valid values forresourcein your request. For more information, see Finding types in the Amazon Inspector user guide.- Parameters:
type- The type of the finding. Thetypevalue determines the valid values forresourcein 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:
FindingType,FindingType
-
type
Finding.Builder type(FindingType type)
The type of the finding. The
typevalue determines the valid values forresourcein your request. For more information, see Finding types in the Amazon Inspector user guide.- Parameters:
type- The type of the finding. Thetypevalue determines the valid values forresourcein 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:
FindingType,FindingType
-
updatedAt
Finding.Builder updatedAt(Instant 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.
-
-