Package org.cdk8s.plus24.k8s
Class KubeBindingProps.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.KubeBindingProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeBindingProps>
- Enclosing interface:
- KubeBindingProps
@Stability(Stable) public static final class KubeBindingProps.Builder extends Object implements software.amazon.jsii.Builder<KubeBindingProps>
A builder forKubeBindingProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeBindingProps
build()
Builds the configured instance.KubeBindingProps.Builder
metadata(ObjectMeta metadata)
Sets the value ofKubeBindingProps.getMetadata()
KubeBindingProps.Builder
target(ObjectReference target)
Sets the value ofKubeBindingProps.getTarget()
-
-
-
Method Detail
-
target
@Stability(Stable) public KubeBindingProps.Builder target(ObjectReference target)
Sets the value ofKubeBindingProps.getTarget()
- Parameters:
target
- The target object that you want to bind to the standard object. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public KubeBindingProps.Builder metadata(ObjectMeta metadata)
Sets the value ofKubeBindingProps.getMetadata()
- Parameters:
metadata
- Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata- Returns:
this
-
build
@Stability(Stable) public KubeBindingProps build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubeBindingProps>
- Returns:
- a new instance of
KubeBindingProps
- Throws:
NullPointerException
- if any required attribute was not provided
-
-