Package org.cdk8s.plus24.k8s
Class KubeFlowSchemaV1Beta2Props.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.KubeFlowSchemaV1Beta2Props.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeFlowSchemaV1Beta2Props>
- Enclosing interface:
- KubeFlowSchemaV1Beta2Props
@Stability(Stable) public static final class KubeFlowSchemaV1Beta2Props.Builder extends Object implements software.amazon.jsii.Builder<KubeFlowSchemaV1Beta2Props>
A builder forKubeFlowSchemaV1Beta2Props
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeFlowSchemaV1Beta2Props
build()
Builds the configured instance.KubeFlowSchemaV1Beta2Props.Builder
metadata(ObjectMeta metadata)
Sets the value ofKubeFlowSchemaV1Beta2Props.getMetadata()
KubeFlowSchemaV1Beta2Props.Builder
spec(FlowSchemaSpecV1Beta2 spec)
Sets the value ofKubeFlowSchemaV1Beta2Props.getSpec()
-
-
-
Method Detail
-
metadata
@Stability(Stable) public KubeFlowSchemaV1Beta2Props.Builder metadata(ObjectMeta metadata)
Sets the value ofKubeFlowSchemaV1Beta2Props.getMetadata()
- Parameters:
metadata
- `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata- Returns:
this
-
spec
@Stability(Stable) public KubeFlowSchemaV1Beta2Props.Builder spec(FlowSchemaSpecV1Beta2 spec)
Sets the value ofKubeFlowSchemaV1Beta2Props.getSpec()
- Parameters:
spec
- `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status- Returns:
this
-
build
@Stability(Stable) public KubeFlowSchemaV1Beta2Props build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubeFlowSchemaV1Beta2Props>
- Returns:
- a new instance of
KubeFlowSchemaV1Beta2Props
- Throws:
NullPointerException
- if any required attribute was not provided
-
-