public static class OcirContainerScanRegistry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OcirContainerScanRegistry |
build() |
OcirContainerScanRegistry.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment to perform the scans in.
|
OcirContainerScanRegistry.Builder |
copy(OcirContainerScanRegistry model) |
OcirContainerScanRegistry.Builder |
repositories(List<String> repositories)
List of repositories to scan images in.
|
OcirContainerScanRegistry.Builder |
url(String url) |
public OcirContainerScanRegistry.Builder url(String url)
public OcirContainerScanRegistry.Builder compartmentId(String compartmentId)
The OCID of the compartment to perform the scans in. All listed repositories must be in the compartment.
compartmentId
- the value to setpublic OcirContainerScanRegistry.Builder repositories(List<String> repositories)
List of repositories to scan images in. If left empty, the target defaults to scanning all repos in the compartmentId
repositories
- the value to setpublic OcirContainerScanRegistry build()
public OcirContainerScanRegistry.Builder copy(OcirContainerScanRegistry model)
Copyright © 2016–2024. All rights reserved.