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