public static class CreateVulnerabilityAuditDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateVulnerabilityAuditDetails.Builder knowledgeBaseId(String knowledgeBaseId)
The Oracle Cloud identifier (OCID) of the knowledge base.
knowledgeBaseId
- the value to setpublic CreateVulnerabilityAuditDetails.Builder compartmentId(String compartmentId)
The compartment Oracle Cloud identifier (OCID) of the vulnerability audit. If compartment identifier is not provided the compartment of the associated knowledge base will be used instead.
compartmentId
- the value to setpublic CreateVulnerabilityAuditDetails.Builder applicationDependencies(List<ApplicationDependency> applicationDependencies)
List of application dependencies (without vulnerabilities).
applicationDependencies
- the value to setpublic CreateVulnerabilityAuditDetails.Builder buildType(VulnerabilityAudit.BuildType buildType)
The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated.
buildType
- the value to setpublic CreateVulnerabilityAuditDetails.Builder configuration(VulnerabilityAuditConfiguration configuration)
public CreateVulnerabilityAuditDetails.Builder usageData(UsageDataDetails usageData)
public CreateVulnerabilityAuditDetails.Builder displayName(String displayName)
The name of the vulnerability audit.
displayName
- the value to setpublic CreateVulnerabilityAuditDetails.Builder source(VulnerabilityAuditSource source)
public CreateVulnerabilityAuditDetails.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 CreateVulnerabilityAuditDetails.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 CreateVulnerabilityAuditDetails build()
public CreateVulnerabilityAuditDetails.Builder copy(CreateVulnerabilityAuditDetails model)
Copyright © 2016–2024. All rights reserved.