Package org.cdk8s.plus23.k8s
Class KubeValidatingWebhookConfiguration.Builder
- java.lang.Object
-
- org.cdk8s.plus23.k8s.KubeValidatingWebhookConfiguration.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeValidatingWebhookConfiguration>
- Enclosing class:
- KubeValidatingWebhookConfiguration
@Stability(Stable) public static final class KubeValidatingWebhookConfiguration.Builder extends Object implements software.amazon.jsii.Builder<KubeValidatingWebhookConfiguration>
A fluent builder forKubeValidatingWebhookConfiguration
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeValidatingWebhookConfiguration
build()
static KubeValidatingWebhookConfiguration.Builder
create(software.constructs.Construct scope, String id)
KubeValidatingWebhookConfiguration.Builder
metadata(ObjectMeta metadata)
Standard object metadata;KubeValidatingWebhookConfiguration.Builder
webhooks(List<? extends ValidatingWebhook> webhooks)
Webhooks is a list of webhooks and the affected resources and operations.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubeValidatingWebhookConfiguration.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope
- the scope in which to define this object. This parameter is required.id
- a scope-local name for the object. This parameter is required.- Returns:
- a new instance of
KubeValidatingWebhookConfiguration.Builder
.
-
metadata
@Stability(Stable) public KubeValidatingWebhookConfiguration.Builder metadata(ObjectMeta metadata)
Standard object metadata;More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
- Parameters:
metadata
- Standard object metadata;. This parameter is required.- Returns:
this
-
webhooks
@Stability(Stable) public KubeValidatingWebhookConfiguration.Builder webhooks(List<? extends ValidatingWebhook> webhooks)
Webhooks is a list of webhooks and the affected resources and operations.- Parameters:
webhooks
- Webhooks is a list of webhooks and the affected resources and operations. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public KubeValidatingWebhookConfiguration build()
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubeValidatingWebhookConfiguration>
-
-