Package org.cdk8s.plus23
Class DnsOption.Builder
- java.lang.Object
-
- org.cdk8s.plus23.DnsOption.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsOption
build()
Builds the configured instance.DnsOption.Builder
name(String name)
Sets the value ofDnsOption.getName()
DnsOption.Builder
value(String value)
Sets the value ofDnsOption.getValue()
-
-
-
Method Detail
-
name
@Stability(Stable) public DnsOption.Builder name(String name)
Sets the value ofDnsOption.getName()
- Parameters:
name
- Option name. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public DnsOption.Builder value(String value)
Sets the value ofDnsOption.getValue()
- Parameters:
value
- Option value.- Returns:
this
-
build
@Stability(Stable) public DnsOption build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DnsOption>
- Returns:
- a new instance of
DnsOption
- Throws:
NullPointerException
- if any required attribute was not provided
-
-