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 EnvFromSourceBuilderedit()Map<String,Object>getAdditionalProperties()ConfigMapEnvSourcegetConfigMapRef()EnvFromSource represents the source of a set of ConfigMaps or SecretsStringgetPrefix()Optional text to prepend to the name of each environment variable.SecretEnvSourcegetSecretRef()EnvFromSource represents the source of a set of ConfigMaps or SecretsvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfigMapRef(ConfigMapEnvSource configMapRef)EnvFromSource represents the source of a set of ConfigMaps or SecretsvoidsetPrefix(String prefix)Optional text to prepend to the name of each environment variable.voidsetSecretRef(SecretEnvSource secretRef)EnvFromSource represents the source of a set of ConfigMaps or SecretsEnvFromSourceBuildertoBuilder()
-
-
-
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. May consist of any printable ASCII characters except '='.
-
setPrefix
public void setPrefix(String prefix)
Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.
-
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:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EnvFromSourceBuilder>
-
toBuilder
public EnvFromSourceBuilder toBuilder()
-
-