Class CreateContainerScanRecipeDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vulnerabilityscanning.model.CreateContainerScanRecipeDetails.Builder
-
- Enclosing class:
- CreateContainerScanRecipeDetails
public static class CreateContainerScanRecipeDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateContainerScanRecipeDetails.Builder displayName(String displayName)
User friendly name of container scan recipe.If not present, will be auto-generated.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public CreateContainerScanRecipeDetails.Builder compartmentId(String compartmentId)
The OCID of the container scan recipe’s compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
imageCount
public CreateContainerScanRecipeDetails.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- Parameters:
imageCount
- the value to set- Returns:
- this builder
-
scanSettings
public CreateContainerScanRecipeDetails.Builder scanSettings(ContainerScanSettings scanSettings)
-
freeformTags
public CreateContainerScanRecipeDetails.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 CreateContainerScanRecipeDetails.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 CreateContainerScanRecipeDetails build()
-
copy
public CreateContainerScanRecipeDetails.Builder copy(CreateContainerScanRecipeDetails model)
-
-