Package org.cdk8s
Class AppProps.Builder
- java.lang.Object
-
- org.cdk8s.AppProps.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppProps
build()
Builds the configured instance.AppProps.Builder
outdir(String outdir)
Sets the value ofAppProps.getOutdir()
AppProps.Builder
outputFileExtension(String outputFileExtension)
Sets the value ofAppProps.getOutputFileExtension()
AppProps.Builder
yamlOutputType(YamlOutputType yamlOutputType)
Sets the value ofAppProps.getYamlOutputType()
-
-
-
Method Detail
-
outdir
@Stability(Stable) public AppProps.Builder outdir(String outdir)
Sets the value ofAppProps.getOutdir()
- Parameters:
outdir
- The directory to output Kubernetes manifests.- Returns:
this
-
outputFileExtension
@Stability(Stable) public AppProps.Builder outputFileExtension(String outputFileExtension)
Sets the value ofAppProps.getOutputFileExtension()
- Parameters:
outputFileExtension
- The file extension to use for rendered YAML files.- Returns:
this
-
yamlOutputType
@Stability(Stable) public AppProps.Builder yamlOutputType(YamlOutputType yamlOutputType)
Sets the value ofAppProps.getYamlOutputType()
- Parameters:
yamlOutputType
- How to divide the YAML output into files.- Returns:
this
-
build
@Stability(Stable) public AppProps build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AppProps>
- Returns:
- a new instance of
AppProps
- Throws:
NullPointerException
- if any required attribute was not provided
-
-