Package org.cdk8s.plus24.k8s
Class IngressClassSpec.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.IngressClassSpec.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IngressClassSpec>
- Enclosing interface:
- IngressClassSpec
@Stability(Stable) public static final class IngressClassSpec.Builder extends Object implements software.amazon.jsii.Builder<IngressClassSpec>
A builder forIngressClassSpec
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressClassSpec
build()
Builds the configured instance.IngressClassSpec.Builder
controller(String controller)
Sets the value ofIngressClassSpec.getController()
IngressClassSpec.Builder
parameters(IngressClassParametersReference parameters)
Sets the value ofIngressClassSpec.getParameters()
-
-
-
Method Detail
-
controller
@Stability(Stable) public IngressClassSpec.Builder controller(String controller)
Sets the value ofIngressClassSpec.getController()
- Parameters:
controller
- Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.- Returns:
this
-
parameters
@Stability(Stable) public IngressClassSpec.Builder parameters(IngressClassParametersReference parameters)
Sets the value ofIngressClassSpec.getParameters()
- Parameters:
parameters
- Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.- Returns:
this
-
build
@Stability(Stable) public IngressClassSpec build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<IngressClassSpec>
- Returns:
- a new instance of
IngressClassSpec
- Throws:
NullPointerException
- if any required attribute was not provided
-
-