public static class VulnerabilityAuditSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VulnerabilityAuditSummary |
build() |
VulnerabilityAuditSummary.Builder |
buildType(VulnerabilityAudit.BuildType buildType)
Type of the build tool.
|
VulnerabilityAuditSummary.Builder |
compartmentId(String compartmentId)
The Oracle Cloud identifier
(OCID) of the
compartment associated with the Vulnerability Audit.
|
VulnerabilityAuditSummary.Builder |
copy(VulnerabilityAuditSummary model) |
VulnerabilityAuditSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
VulnerabilityAuditSummary.Builder |
displayName(String displayName)
The name of the Vulnerability Audit.
|
VulnerabilityAuditSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
VulnerabilityAuditSummary.Builder |
id(String id)
The Oracle Cloud identifier
(OCID) of the
Vulnerability Audit.
|
VulnerabilityAuditSummary.Builder |
isSuccess(Boolean isSuccess)
Indicates if an audit succeeded according to the configuration.
|
VulnerabilityAuditSummary.Builder |
knowledgeBaseId(String knowledgeBaseId)
The Oracle Cloud identifier
(OCID) of the
Knowledge Base.
|
VulnerabilityAuditSummary.Builder |
lifecycleState(VulnerabilityAudit.LifecycleState lifecycleState)
The current lifecycle state of the Vulnerability Audit.
|
VulnerabilityAuditSummary.Builder |
maxObservedCvssV2Score(Float maxObservedCvssV2Score)
Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored
vulnerable Application Dependencies.
|
VulnerabilityAuditSummary.Builder |
maxObservedCvssV2ScoreWithIgnored(Float maxObservedCvssV2ScoreWithIgnored)
Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable
Application Dependencies including ignored ones.
|
VulnerabilityAuditSummary.Builder |
maxObservedCvssV3Score(Float maxObservedCvssV3Score)
Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored
vulnerable Application Dependencies.
|
VulnerabilityAuditSummary.Builder |
maxObservedCvssV3ScoreWithIgnored(Float maxObservedCvssV3ScoreWithIgnored)
Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable
Application Dependencies including ignored ones.
|
VulnerabilityAuditSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
VulnerabilityAuditSummary.Builder |
timeCreated(Date timeCreated)
The creation date and time of the Vulnerability Audit (formatted according to
RFC3339).
|
VulnerabilityAuditSummary.Builder |
timeUpdated(Date timeUpdated)
The update date and time of the Vulnerability Audit (formatted according to
RFC3339).
|
VulnerabilityAuditSummary.Builder |
vulnerableArtifactsCount(Integer vulnerableArtifactsCount)
Count of non-ignored vulnerable Application Dependencies.
|
VulnerabilityAuditSummary.Builder |
vulnerableArtifactsCountWithIgnored(Integer vulnerableArtifactsCountWithIgnored)
Count of all vulnerable Application Dependencies.
|
public VulnerabilityAuditSummary.Builder id(String id)
The Oracle Cloud identifier (OCID) of the Vulnerability Audit.
id
- the value to setpublic VulnerabilityAuditSummary.Builder displayName(String displayName)
The name of the Vulnerability Audit.
displayName
- the value to setpublic VulnerabilityAuditSummary.Builder knowledgeBaseId(String knowledgeBaseId)
The Oracle Cloud identifier (OCID) of the Knowledge Base.
knowledgeBaseId
- the value to setpublic VulnerabilityAuditSummary.Builder timeCreated(Date timeCreated)
The creation date and time of the Vulnerability Audit (formatted according to RFC3339).
timeCreated
- the value to setpublic VulnerabilityAuditSummary.Builder timeUpdated(Date timeUpdated)
The update date and time of the Vulnerability Audit (formatted according to RFC3339).
timeUpdated
- the value to setpublic VulnerabilityAuditSummary.Builder lifecycleState(VulnerabilityAudit.LifecycleState lifecycleState)
The current lifecycle state of the Vulnerability Audit.
lifecycleState
- the value to setpublic VulnerabilityAuditSummary.Builder maxObservedCvssV2Score(Float maxObservedCvssV2Score)
Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable Application Dependencies.
maxObservedCvssV2Score
- the value to setpublic VulnerabilityAuditSummary.Builder maxObservedCvssV3Score(Float maxObservedCvssV3Score)
Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable Application Dependencies.
maxObservedCvssV3Score
- the value to setpublic VulnerabilityAuditSummary.Builder vulnerableArtifactsCount(Integer vulnerableArtifactsCount)
Count of non-ignored vulnerable Application Dependencies.
vulnerableArtifactsCount
- the value to setpublic VulnerabilityAuditSummary.Builder maxObservedCvssV2ScoreWithIgnored(Float maxObservedCvssV2ScoreWithIgnored)
Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable Application Dependencies including ignored ones.
maxObservedCvssV2ScoreWithIgnored
- the value to setpublic VulnerabilityAuditSummary.Builder maxObservedCvssV3ScoreWithIgnored(Float maxObservedCvssV3ScoreWithIgnored)
Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable Application Dependencies including ignored ones.
maxObservedCvssV3ScoreWithIgnored
- the value to setpublic VulnerabilityAuditSummary.Builder vulnerableArtifactsCountWithIgnored(Integer vulnerableArtifactsCountWithIgnored)
Count of all vulnerable Application Dependencies.
vulnerableArtifactsCountWithIgnored
- the value to setpublic VulnerabilityAuditSummary.Builder isSuccess(Boolean isSuccess)
Indicates if an audit succeeded according to the configuration. The value is null
if the audit is in the CREATING
state.
isSuccess
- the value to setpublic VulnerabilityAuditSummary.Builder buildType(VulnerabilityAudit.BuildType buildType)
Type of the build tool.
buildType
- the value to setpublic VulnerabilityAuditSummary.Builder compartmentId(String compartmentId)
The Oracle Cloud identifier (OCID) of the compartment associated with the Vulnerability Audit.
compartmentId
- the value to setpublic VulnerabilityAuditSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic VulnerabilityAuditSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic VulnerabilityAuditSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic VulnerabilityAuditSummary build()
public VulnerabilityAuditSummary.Builder copy(VulnerabilityAuditSummary model)
Copyright © 2016–2023. All rights reserved.