Package org.cdk8s.plus23.k8s
Class HttpIngressRuleValue.Builder
- java.lang.Object
-
- org.cdk8s.plus23.k8s.HttpIngressRuleValue.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpIngressRuleValue>
- Enclosing interface:
- HttpIngressRuleValue
@Stability(Stable) public static final class HttpIngressRuleValue.Builder extends Object implements software.amazon.jsii.Builder<HttpIngressRuleValue>
A builder forHttpIngressRuleValue
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpIngressRuleValue
build()
Builds the configured instance.HttpIngressRuleValue.Builder
paths(List<? extends HttpIngressPath> paths)
Sets the value ofHttpIngressRuleValue.getPaths()
-
-
-
Method Detail
-
paths
@Stability(Stable) public HttpIngressRuleValue.Builder paths(List<? extends HttpIngressPath> paths)
Sets the value ofHttpIngressRuleValue.getPaths()
- Parameters:
paths
- A collection of paths that map requests to backends. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public HttpIngressRuleValue build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpIngressRuleValue>
- Returns:
- a new instance of
HttpIngressRuleValue
- Throws:
NullPointerException
- if any required attribute was not provided
-
-