Package org.cdk8s.plus25.k8s
Class KubeValidatingWebhookConfigurationProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeValidatingWebhookConfigurationProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeValidatingWebhookConfigurationProps>
- Enclosing interface:
- KubeValidatingWebhookConfigurationProps
@Stability(Stable) public static final class KubeValidatingWebhookConfigurationProps.Builder extends Object implements software.amazon.jsii.Builder<KubeValidatingWebhookConfigurationProps>
A builder forKubeValidatingWebhookConfigurationProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeValidatingWebhookConfigurationPropsbuild()Builds the configured instance.KubeValidatingWebhookConfigurationProps.Buildermetadata(ObjectMeta metadata)Sets the value ofKubeValidatingWebhookConfigurationProps.getMetadata()KubeValidatingWebhookConfigurationProps.Builderwebhooks(List<? extends ValidatingWebhook> webhooks)Sets the value ofKubeValidatingWebhookConfigurationProps.getWebhooks()
-
-
-
Method Detail
-
metadata
@Stability(Stable) public KubeValidatingWebhookConfigurationProps.Builder metadata(ObjectMeta metadata)
Sets the value ofKubeValidatingWebhookConfigurationProps.getMetadata()- Parameters:
metadata- Standard object metadata;. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.- Returns:
this
-
webhooks
@Stability(Stable) public KubeValidatingWebhookConfigurationProps.Builder webhooks(List<? extends ValidatingWebhook> webhooks)
Sets the value ofKubeValidatingWebhookConfigurationProps.getWebhooks()- Parameters:
webhooks- Webhooks is a list of webhooks and the affected resources and operations.- Returns:
this
-
build
@Stability(Stable) public KubeValidatingWebhookConfigurationProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeValidatingWebhookConfigurationProps>- Returns:
- a new instance of
KubeValidatingWebhookConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-
-