Package org.cdk8s.plus24.k8s
Class PodDnsConfigOption.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.PodDnsConfigOption.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PodDnsConfigOption>
- Enclosing interface:
- PodDnsConfigOption
@Stability(Stable) public static final class PodDnsConfigOption.Builder extends Object implements software.amazon.jsii.Builder<PodDnsConfigOption>
A builder forPodDnsConfigOption
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodDnsConfigOption
build()
Builds the configured instance.PodDnsConfigOption.Builder
name(String name)
Sets the value ofPodDnsConfigOption.getName()
PodDnsConfigOption.Builder
value(String value)
Sets the value ofPodDnsConfigOption.getValue()
-
-
-
Method Detail
-
name
@Stability(Stable) public PodDnsConfigOption.Builder name(String name)
Sets the value ofPodDnsConfigOption.getName()
- Parameters:
name
- Required.- Returns:
this
-
value
@Stability(Stable) public PodDnsConfigOption.Builder value(String value)
Sets the value ofPodDnsConfigOption.getValue()
- Parameters:
value
- the value to be set.- Returns:
this
-
build
@Stability(Stable) public PodDnsConfigOption build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PodDnsConfigOption>
- Returns:
- a new instance of
PodDnsConfigOption
- Throws:
NullPointerException
- if any required attribute was not provided
-
-