Class CreateHostScanRecipeDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vulnerabilityscanning.model.CreateHostScanRecipeDetails.Builder
-
- Enclosing class:
- CreateHostScanRecipeDetails
public static class CreateHostScanRecipeDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateHostScanRecipeDetails.Builder displayName(String displayName)
Recipe identifier, which can be renamed.If not present, it will be auto-generated. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public CreateHostScanRecipeDetails.Builder compartmentId(String compartmentId)
Compartment ID of the scanning config.If no individual hosts are specified, all hosts in this compartment are scanned
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
portSettings
public CreateHostScanRecipeDetails.Builder portSettings(HostScanPortSettings portSettings)
-
agentSettings
public CreateHostScanRecipeDetails.Builder agentSettings(HostScanAgentSettings agentSettings)
-
applicationSettings
public CreateHostScanRecipeDetails.Builder applicationSettings(ApplicationScanSettings applicationSettings)
-
schedule
public CreateHostScanRecipeDetails.Builder schedule(Schedule schedule)
-
freeformTags
public CreateHostScanRecipeDetails.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public CreateHostScanRecipeDetails.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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateHostScanRecipeDetails build()
-
copy
public CreateHostScanRecipeDetails.Builder copy(CreateHostScanRecipeDetails model)
-
-