Package org.cdk8s.plus28.k8s
Class KubeClusterTrustBundleV1Alpha1.Builder
- java.lang.Object
-
- org.cdk8s.plus28.k8s.KubeClusterTrustBundleV1Alpha1.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeClusterTrustBundleV1Alpha1>
- Enclosing class:
- KubeClusterTrustBundleV1Alpha1
@Stability(Stable) public static final class KubeClusterTrustBundleV1Alpha1.Builder extends Object implements software.amazon.jsii.Builder<KubeClusterTrustBundleV1Alpha1>
A fluent builder forKubeClusterTrustBundleV1Alpha1.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeClusterTrustBundleV1Alpha1build()static KubeClusterTrustBundleV1Alpha1.Buildercreate(software.constructs.Construct scope, String id)KubeClusterTrustBundleV1Alpha1.Buildermetadata(ObjectMeta metadata)metadata contains the object metadata.KubeClusterTrustBundleV1Alpha1.Builderspec(ClusterTrustBundleSpecV1Alpha1 spec)spec contains the signer (if any) and trust anchors.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubeClusterTrustBundleV1Alpha1.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
KubeClusterTrustBundleV1Alpha1.Builder.
-
spec
@Stability(Stable) public KubeClusterTrustBundleV1Alpha1.Builder spec(ClusterTrustBundleSpecV1Alpha1 spec)
spec contains the signer (if any) and trust anchors.- Parameters:
spec- spec contains the signer (if any) and trust anchors. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeClusterTrustBundleV1Alpha1.Builder metadata(ObjectMeta metadata)
metadata contains the object metadata.- Parameters:
metadata- metadata contains the object metadata. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public KubeClusterTrustBundleV1Alpha1 build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeClusterTrustBundleV1Alpha1>- Returns:
- a newly built instance of
KubeClusterTrustBundleV1Alpha1.
-
-