public static class HostScanRecipe.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostScanRecipe.Builder |
agentSettings(HostScanAgentSettings agentSettings) |
HostScanRecipe.Builder |
applicationSettings(ApplicationScanSettings applicationSettings) |
HostScanRecipe |
build() |
HostScanRecipe.Builder |
compartmentId(String compartmentId)
Compartment ID of the scan recipe
|
HostScanRecipe.Builder |
copy(HostScanRecipe model) |
HostScanRecipe.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
HostScanRecipe.Builder |
displayName(String displayName)
Recipe identifier, which can be renamed
|
HostScanRecipe.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
HostScanRecipe.Builder |
id(String id)
Unique identifier of the config that is immutable on creation
|
HostScanRecipe.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the config.
|
HostScanRecipe.Builder |
portSettings(HostScanPortSettings portSettings) |
HostScanRecipe.Builder |
schedule(Schedule schedule) |
HostScanRecipe.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
HostScanRecipe.Builder |
timeCreated(Date timeCreated)
Date and time the recipe was created, format as described in RFC
3339
|
HostScanRecipe.Builder |
timeUpdated(Date timeUpdated)
Date and time the recipe was last updated, format as described in RFC
3339
|
public HostScanRecipe.Builder id(String id)
Unique identifier of the config that is immutable on creation
id
- the value to setpublic HostScanRecipe.Builder displayName(String displayName)
Recipe identifier, which can be renamed
displayName
- the value to setpublic HostScanRecipe.Builder compartmentId(String compartmentId)
Compartment ID of the scan recipe
compartmentId
- the value to setpublic HostScanRecipe.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the config.
lifecycleState
- the value to setpublic HostScanRecipe.Builder timeCreated(Date timeCreated)
Date and time the recipe was created, format as described in RFC 3339
timeCreated
- the value to setpublic HostScanRecipe.Builder timeUpdated(Date timeUpdated)
Date and time the recipe was last updated, format as described in RFC 3339
timeUpdated
- the value to setpublic HostScanRecipe.Builder portSettings(HostScanPortSettings portSettings)
public HostScanRecipe.Builder agentSettings(HostScanAgentSettings agentSettings)
public HostScanRecipe.Builder applicationSettings(ApplicationScanSettings applicationSettings)
public HostScanRecipe.Builder schedule(Schedule schedule)
public HostScanRecipe.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 HostScanRecipe.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 HostScanRecipe.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 HostScanRecipe build()
public HostScanRecipe.Builder copy(HostScanRecipe model)
Copyright © 2016–2024. All rights reserved.