public static class ImagePolicyConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ImagePolicyConfig |
build() |
ImagePolicyConfig.Builder |
copy(ImagePolicyConfig model) |
ImagePolicyConfig.Builder |
isPolicyEnabled(Boolean isPolicyEnabled)
Whether the image verification policy is enabled.
|
ImagePolicyConfig.Builder |
keyDetails(List<KeyDetails> keyDetails)
A list of KMS key details.
|
public ImagePolicyConfig.Builder isPolicyEnabled(Boolean isPolicyEnabled)
Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
isPolicyEnabled
- the value to setpublic ImagePolicyConfig.Builder keyDetails(List<KeyDetails> keyDetails)
A list of KMS key details.
keyDetails
- the value to setpublic ImagePolicyConfig build()
public ImagePolicyConfig.Builder copy(ImagePolicyConfig model)
Copyright © 2016–2024. All rights reserved.