Package org.cdk8s.plus24
Class AddDirectoryOptions.Builder
- java.lang.Object
-
- org.cdk8s.plus24.AddDirectoryOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AddDirectoryOptions>
- Enclosing interface:
- AddDirectoryOptions
@Stability(Stable) public static final class AddDirectoryOptions.Builder extends Object implements software.amazon.jsii.Builder<AddDirectoryOptions>
A builder forAddDirectoryOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddDirectoryOptionsbuild()Builds the configured instance.AddDirectoryOptions.Builderexclude(List<String> exclude)Sets the value ofAddDirectoryOptions.getExclude()AddDirectoryOptions.BuilderkeyPrefix(String keyPrefix)Sets the value ofAddDirectoryOptions.getKeyPrefix()
-
-
-
Method Detail
-
exclude
@Stability(Stable) public AddDirectoryOptions.Builder exclude(List<String> exclude)
Sets the value ofAddDirectoryOptions.getExclude()- Parameters:
exclude- Glob patterns to exclude when adding files.- Returns:
this
-
keyPrefix
@Stability(Stable) public AddDirectoryOptions.Builder keyPrefix(String keyPrefix)
Sets the value ofAddDirectoryOptions.getKeyPrefix()- Parameters:
keyPrefix- A prefix to add to all keys in the config map.- Returns:
this
-
build
@Stability(Stable) public AddDirectoryOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AddDirectoryOptions>- Returns:
- a new instance of
AddDirectoryOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-