Package org.cdk8s.plus24.k8s
Class KubeIngressClass.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.KubeIngressClass.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubeIngressClass>
- Enclosing class:
- KubeIngressClass
@Stability(Stable) public static final class KubeIngressClass.Builder extends Object implements software.amazon.jsii.Builder<KubeIngressClass>
A fluent builder forKubeIngressClass
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KubeIngressClass
build()
static KubeIngressClass.Builder
create(software.constructs.Construct scope, String id)
KubeIngressClass.Builder
metadata(ObjectMeta metadata)
Standard object's metadata.KubeIngressClass.Builder
spec(IngressClassSpec spec)
Spec is the desired state of the IngressClass.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KubeIngressClass.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
KubeIngressClass.Builder
.
-
metadata
@Stability(Stable) public KubeIngressClass.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
-
spec
@Stability(Stable) public KubeIngressClass.Builder spec(IngressClassSpec 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
- Parameters:
spec
- Spec is the desired state of the IngressClass. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public KubeIngressClass build()
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubeIngressClass>
-
-