Package org.cdk8s.plus28.k8s
Class KubeClusterTrustBundleV1Alpha1Props.Builder
- java.lang.Object
-
- org.cdk8s.plus28.k8s.KubeClusterTrustBundleV1Alpha1Props.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeClusterTrustBundleV1Alpha1Props>
- Enclosing interface:
- KubeClusterTrustBundleV1Alpha1Props
@Stability(Stable) public static final class KubeClusterTrustBundleV1Alpha1Props.Builder extends Object implements software.amazon.jsii.Builder<KubeClusterTrustBundleV1Alpha1Props>
A builder forKubeClusterTrustBundleV1Alpha1Props
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeClusterTrustBundleV1Alpha1Propsbuild()Builds the configured instance.KubeClusterTrustBundleV1Alpha1Props.Buildermetadata(ObjectMeta metadata)Sets the value ofKubeClusterTrustBundleV1Alpha1Props.getMetadata()KubeClusterTrustBundleV1Alpha1Props.Builderspec(ClusterTrustBundleSpecV1Alpha1 spec)Sets the value ofKubeClusterTrustBundleV1Alpha1Props.getSpec()
-
-
-
Method Detail
-
spec
@Stability(Stable) public KubeClusterTrustBundleV1Alpha1Props.Builder spec(ClusterTrustBundleSpecV1Alpha1 spec)
Sets the value ofKubeClusterTrustBundleV1Alpha1Props.getSpec()- Parameters:
spec- spec contains the signer (if any) and trust anchors. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeClusterTrustBundleV1Alpha1Props.Builder metadata(ObjectMeta metadata)
Sets the value ofKubeClusterTrustBundleV1Alpha1Props.getMetadata()- Parameters:
metadata- metadata contains the object metadata.- Returns:
this
-
build
@Stability(Stable) public KubeClusterTrustBundleV1Alpha1Props build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeClusterTrustBundleV1Alpha1Props>- Returns:
- a new instance of
KubeClusterTrustBundleV1Alpha1Props - Throws:
NullPointerException- if any required attribute was not provided
-
-