Package org.cdk8s
Class IncludeProps.Builder
- java.lang.Object
-
- org.cdk8s.IncludeProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IncludeProps>
- Enclosing interface:
- IncludeProps
@Stability(Stable) public static final class IncludeProps.Builder extends Object implements software.amazon.jsii.Builder<IncludeProps>
A builder forIncludeProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IncludeProps
build()
Builds the configured instance.IncludeProps.Builder
url(String url)
Sets the value ofIncludeProps.getUrl()
-
-
-
Method Detail
-
url
@Stability(Stable) public IncludeProps.Builder url(String url)
Sets the value ofIncludeProps.getUrl()
- Parameters:
url
- Local file path or URL which includes a Kubernetes YAML manifest. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public IncludeProps build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<IncludeProps>
- Returns:
- a new instance of
IncludeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-
-