public static class ContainerScanRecipe.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ContainerScanRecipe |
build() |
ContainerScanRecipe.Builder |
compartmentId(String compartmentId)
The OCID
of the container scan recipe’s compartment
|
ContainerScanRecipe.Builder |
copy(ContainerScanRecipe model) |
ContainerScanRecipe.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ContainerScanRecipe.Builder |
displayName(String displayName)
User friendly name of container scan recipe
|
ContainerScanRecipe.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ContainerScanRecipe.Builder |
id(String id)
The OCID
of container scan recipe.
|
ContainerScanRecipe.Builder |
imageCount(Integer imageCount)
This field is set equal to the number of images we want to scan in the first go when the
recipe is created
|
ContainerScanRecipe.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the config.
|
ContainerScanRecipe.Builder |
scanSettings(ContainerScanSettings scanSettings) |
ContainerScanRecipe.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ContainerScanRecipe.Builder |
timeCreated(Date timeCreated)
Date and time the recipe was created, format as described in RFC
3339
|
ContainerScanRecipe.Builder |
timeUpdated(Date timeUpdated)
Date and time the recipe was last updated, format as described in RFC
3339
|
public ContainerScanRecipe.Builder id(String id)
The OCID of container scan recipe. Immutable and generated on creation.
id
- the value to setpublic ContainerScanRecipe.Builder displayName(String displayName)
User friendly name of container scan recipe
displayName
- the value to setpublic ContainerScanRecipe.Builder compartmentId(String compartmentId)
The OCID of the container scan recipe’s compartment
compartmentId
- the value to setpublic ContainerScanRecipe.Builder imageCount(Integer imageCount)
This field is set equal to the number of images we want to scan in the first go when the recipe is created
imageCount
- the value to setpublic ContainerScanRecipe.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the config.
lifecycleState
- the value to setpublic ContainerScanRecipe.Builder timeCreated(Date timeCreated)
Date and time the recipe was created, format as described in RFC 3339
timeCreated
- the value to setpublic ContainerScanRecipe.Builder timeUpdated(Date timeUpdated)
Date and time the recipe was last updated, format as described in RFC 3339
timeUpdated
- the value to setpublic ContainerScanRecipe.Builder scanSettings(ContainerScanSettings scanSettings)
public ContainerScanRecipe.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 ContainerScanRecipe.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 ContainerScanRecipe.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 ContainerScanRecipe build()
public ContainerScanRecipe.Builder copy(ContainerScanRecipe model)
Copyright © 2016–2024. All rights reserved.