Package org.cdk8s.plus25.k8s
Class KubeIngressClassProps.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.KubeIngressClassProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeIngressClassProps>
- Enclosing interface:
- KubeIngressClassProps
@Stability(Stable) public static final class KubeIngressClassProps.Builder extends Object implements software.amazon.jsii.Builder<KubeIngressClassProps>
A builder forKubeIngressClassProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeIngressClassPropsbuild()Builds the configured instance.KubeIngressClassProps.Buildermetadata(ObjectMeta metadata)Sets the value ofKubeIngressClassProps.getMetadata()KubeIngressClassProps.Builderspec(IngressClassSpec spec)Sets the value ofKubeIngressClassProps.getSpec()
-
-
-
Method Detail
-
metadata
@Stability(Stable) public KubeIngressClassProps.Builder metadata(ObjectMeta metadata)
Sets the value ofKubeIngressClassProps.getMetadata()- Parameters:
metadata- 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 KubeIngressClassProps.Builder spec(IngressClassSpec spec)
Sets the value ofKubeIngressClassProps.getSpec()- Parameters:
spec- Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status- Returns:
this
-
build
@Stability(Stable) public KubeIngressClassProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KubeIngressClassProps>- Returns:
- a new instance of
KubeIngressClassProps - Throws:
NullPointerException- if any required attribute was not provided
-
-