public class EnvironmentVariableWithSecretValue extends Object
| Constructor and Description |
|---|
EnvironmentVariableWithSecretValue() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name of the environment variable to store the secret value.
|
String |
value()
Get the value of the environment variable.
|
KeyVaultSecretReference |
valueSecretReference()
Get keyVault store and secret which contains the value for the environment variable.
|
EnvironmentVariableWithSecretValue |
withName(String name)
Set the name of the environment variable to store the secret value.
|
EnvironmentVariableWithSecretValue |
withValue(String value)
Set the value of the environment variable.
|
EnvironmentVariableWithSecretValue |
withValueSecretReference(KeyVaultSecretReference valueSecretReference)
Set keyVault store and secret which contains the value for the environment variable.
|
public String name()
public EnvironmentVariableWithSecretValue withName(String name)
name - the name value to setpublic String value()
public EnvironmentVariableWithSecretValue withValue(String value)
value - the value value to setpublic KeyVaultSecretReference valueSecretReference()
public EnvironmentVariableWithSecretValue withValueSecretReference(KeyVaultSecretReference valueSecretReference)
valueSecretReference - the valueSecretReference value to setCopyright © 2019. All rights reserved.