Package org.cdk8s.plus25.k8s
Class KubeBinding.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeBinding.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeBinding>
- Enclosing class:
- KubeBinding
@Stability(Stable) public static final class KubeBinding.Builder extends Object implements software.amazon.jsii.Builder<KubeBinding>
A fluent builder forKubeBinding.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeBindingbuild()static KubeBinding.Buildercreate(software.constructs.Construct scope, String id)KubeBinding.Buildermetadata(ObjectMeta metadata)Standard object's metadata.KubeBinding.Buildertarget(ObjectReference target)The target object that you want to bind to the standard object.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubeBinding.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
KubeBinding.Builder.
-
target
@Stability(Stable) public KubeBinding.Builder target(ObjectReference target)
The target object that you want to bind to the standard object.- Parameters:
target- The target object that you want to bind to the standard object. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeBinding.Builder metadata(ObjectMeta metadata)
Standard object's metadata.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Parameters:
metadata- Standard object's metadata. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public KubeBinding build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeBinding>- Returns:
- a newly built instance of
KubeBinding.
-
-