Class LoadEnvOptions.Builder
java.lang.Object
codes.grow.packages.awssecretsmanager.secrets.LoadEnvOptions.Builder
- Enclosing class:
LoadEnvOptions
Builder for
LoadEnvOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the options.override(boolean override) Overwrites existing variables when true.Sets the prefix of generated names (path form only).target(EnvLoader.Target target) Sets where variables are written (tests, or a custom map).
-
Method Details
-
override
Overwrites existing variables when true.- Parameters:
override- flag- Returns:
- this builder
-
prefix
Sets the prefix of generated names (path form only).- Parameters:
prefix- prefix- Returns:
- this builder
-
target
Sets where variables are written (tests, or a custom map).- Parameters:
target- target- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
-