Package io.github.cdklabs.projen.gitlab
Class VaultConfig.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.gitlab.VaultConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VaultConfig>
- Enclosing interface:
- VaultConfig
@Stability(Experimental) public static final class VaultConfig.Builder extends Object implements software.amazon.jsii.Builder<VaultConfig>
A builder forVaultConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VaultConfigbuild()Builds the configured instance.VaultConfig.Builderengine(Engine engine)Sets the value ofVaultConfig.getEngine()VaultConfig.Builderfield(String field)Sets the value ofVaultConfig.getField()VaultConfig.Builderpath(String path)Sets the value ofVaultConfig.getPath()
-
-
-
Method Detail
-
engine
@Stability(Experimental) public VaultConfig.Builder engine(Engine engine)
Sets the value ofVaultConfig.getEngine()- Parameters:
engine- the value to be set. This parameter is required.- Returns:
this
-
field
@Stability(Experimental) public VaultConfig.Builder field(String field)
Sets the value ofVaultConfig.getField()- Parameters:
field- the value to be set. This parameter is required.- Returns:
this
-
path
@Stability(Experimental) public VaultConfig.Builder path(String path)
Sets the value ofVaultConfig.getPath()- Parameters:
path- Path to the secret. This parameter is required.- Returns:
this
-
build
@Stability(Experimental) public VaultConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VaultConfig>- Returns:
- a new instance of
VaultConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-