Package org.cdk8s.plus24.k8s
Class PodOs.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.PodOs.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodOs
build()
Builds the configured instance.PodOs.Builder
name(String name)
Sets the value ofPodOs.getName()
-
-
-
Method Detail
-
name
@Stability(Stable) public PodOs.Builder name(String name)
Sets the value ofPodOs.getName()
- Parameters:
name
- Name is the name of the operating system. This parameter is required. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null- Returns:
this
-
build
@Stability(Stable) public PodOs build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PodOs>
- Returns:
- a new instance of
PodOs
- Throws:
NullPointerException
- if any required attribute was not provided
-
-