Class EnvironmentVariable.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.EnvironmentVariable.Builder
-
- Enclosing class:
- EnvironmentVariable
public static class EnvironmentVariable.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentVariablebuild()EnvironmentVariable.Buildercopy(EnvironmentVariable model)EnvironmentVariable.Buildername(String name)Name of the environment variable.EnvironmentVariable.Buildertype(EnvironmentVariable.Type type)Type of the environment variable (PLAINTEXT or HASHED, no default value).EnvironmentVariable.Buildervalue(Object value)Value of the environment variable.
-
-
-
Method Detail
-
name
public EnvironmentVariable.Builder name(String name)
Name of the environment variable.- Parameters:
name- the value to set- Returns:
- this builder
-
type
public EnvironmentVariable.Builder type(EnvironmentVariable.Type type)
Type of the environment variable (PLAINTEXT or HASHED, no default value).- Parameters:
type- the value to set- Returns:
- this builder
-
value
public EnvironmentVariable.Builder value(Object value)
Value of the environment variable.- Parameters:
value- the value to set- Returns:
- this builder
-
build
public EnvironmentVariable build()
-
copy
public EnvironmentVariable.Builder copy(EnvironmentVariable model)
-
-