Package io.fabric8.kubernetes.api.model
Class EnvFromSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.EnvFromSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EnvFromSourceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EnvFromSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<EnvFromSourceBuilder>, KubernetesResource
EnvFromSource represents the source of a set of ConfigMaps or Secrets- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnvFromSource()
No args constructor for use in serializationEnvFromSource(ConfigMapEnvSource configMapRef, String prefix, SecretEnvSource secretRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvFromSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
ConfigMapEnvSource
getConfigMapRef()
EnvFromSource represents the source of a set of ConfigMaps or SecretsString
getPrefix()
Optional text to prepend to the name of each environment variable.SecretEnvSource
getSecretRef()
EnvFromSource represents the source of a set of ConfigMaps or Secretsvoid
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setConfigMapRef(ConfigMapEnvSource configMapRef)
EnvFromSource represents the source of a set of ConfigMaps or Secretsvoid
setPrefix(String prefix)
Optional text to prepend to the name of each environment variable.void
setSecretRef(SecretEnvSource secretRef)
EnvFromSource represents the source of a set of ConfigMaps or SecretsEnvFromSourceBuilder
toBuilder()
-
-
-
Constructor Detail
-
EnvFromSource
public EnvFromSource()
No args constructor for use in serialization
-
EnvFromSource
public EnvFromSource(ConfigMapEnvSource configMapRef, String prefix, SecretEnvSource secretRef)
-
-
Method Detail
-
getConfigMapRef
public ConfigMapEnvSource getConfigMapRef()
EnvFromSource represents the source of a set of ConfigMaps or Secrets
-
setConfigMapRef
public void setConfigMapRef(ConfigMapEnvSource configMapRef)
EnvFromSource represents the source of a set of ConfigMaps or Secrets
-
getPrefix
public String getPrefix()
Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
-
setPrefix
public void setPrefix(String prefix)
Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.
-
getSecretRef
public SecretEnvSource getSecretRef()
EnvFromSource represents the source of a set of ConfigMaps or Secrets
-
setSecretRef
public void setSecretRef(SecretEnvSource secretRef)
EnvFromSource represents the source of a set of ConfigMaps or Secrets
-
edit
public EnvFromSourceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<EnvFromSourceBuilder>
-
toBuilder
public EnvFromSourceBuilder toBuilder()
-
-