public static class CreateHostScanRecipeDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateHostScanRecipeDetails.Builder |
agentSettings(HostScanAgentSettings agentSettings) |
CreateHostScanRecipeDetails |
build() |
CreateHostScanRecipeDetails.Builder |
compartmentId(String compartmentId)
Compartment ID of the scanning config.
|
CreateHostScanRecipeDetails.Builder |
copy(CreateHostScanRecipeDetails o) |
CreateHostScanRecipeDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateHostScanRecipeDetails.Builder |
displayName(String displayName)
Recipe identifier, which can be renamed.
|
CreateHostScanRecipeDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateHostScanRecipeDetails.Builder |
portSettings(HostScanPortSettings portSettings) |
CreateHostScanRecipeDetails.Builder |
schedule(Schedule schedule) |
public CreateHostScanRecipeDetails.Builder displayName(String displayName)
Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information.
displayName
- the value to setpublic CreateHostScanRecipeDetails.Builder compartmentId(String compartmentId)
Compartment ID of the scanning config. If no individual hosts are specified, all hosts in this compartment are scanned
compartmentId
- the value to setpublic CreateHostScanRecipeDetails.Builder portSettings(HostScanPortSettings portSettings)
public CreateHostScanRecipeDetails.Builder agentSettings(HostScanAgentSettings agentSettings)
public CreateHostScanRecipeDetails.Builder schedule(Schedule schedule)
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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateHostScanRecipeDetails build()
public CreateHostScanRecipeDetails.Builder copy(CreateHostScanRecipeDetails o)
Copyright © 2016–2022. All rights reserved.