Package org.cdk8s.plus25.k8s
Class NonResourceAttributes.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.NonResourceAttributes.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NonResourceAttributes>
- Enclosing interface:
- NonResourceAttributes
@Stability(Stable) public static final class NonResourceAttributes.Builder extends Object implements software.amazon.jsii.Builder<NonResourceAttributes>
A builder forNonResourceAttributes
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NonResourceAttributesbuild()Builds the configured instance.NonResourceAttributes.Builderpath(String path)Sets the value ofNonResourceAttributes.getPath()NonResourceAttributes.Builderverb(String verb)Sets the value ofNonResourceAttributes.getVerb()
-
-
-
Method Detail
-
path
@Stability(Stable) public NonResourceAttributes.Builder path(String path)
Sets the value ofNonResourceAttributes.getPath()- Parameters:
path- Path is the URL path of the request.- Returns:
this
-
verb
@Stability(Stable) public NonResourceAttributes.Builder verb(String verb)
Sets the value ofNonResourceAttributes.getVerb()- Parameters:
verb- Verb is the standard HTTP verb.- Returns:
this
-
build
@Stability(Stable) public NonResourceAttributes build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NonResourceAttributes>- Returns:
- a new instance of
NonResourceAttributes - Throws:
NullPointerException- if any required attribute was not provided
-
-