Package org.cdk8s.plus22
Class DnsOption.Builder
- java.lang.Object
-
- org.cdk8s.plus22.DnsOption.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsOptionbuild()Builds the configured instance.DnsOption.Buildername(String name)Sets the value ofDnsOption.getName()DnsOption.Buildervalue(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:
buildin interfacesoftware.amazon.jsii.Builder<DnsOption>- Returns:
- a new instance of
DnsOption - Throws:
NullPointerException- if any required attribute was not provided
-
-