Class V1EnvVar
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1EnvVar
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1EnvVar
extends Object
EnvVar represents an environment variable present in a Container.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name of the environment variable.getValue()
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.int
hashCode()
Set name in a chainable fashion.void
Set the name property valuevoid
Set the value property valuevoid
setValueFrom
(V1EnvVarSource valueFrom) Set the valueFrom property valuetoString()
Set value in a chainable fashion.valueFrom
(V1EnvVarSource valueFrom) Set valueFrom in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
JSON_PROPERTY_VALUE_FROM
- See Also:
-
-
Constructor Details
-
V1EnvVar
-
-
Method Details
-
getName
Name of the environment variable. Must be a C_IDENTIFIER.- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1EnvVar for chaining.
-
getValue
Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".- Returns:
- the value property value
-
setValue
Set the value property value -
value
Set value in a chainable fashion.- Returns:
- The same instance of V1EnvVar for chaining.
-
getValueFrom
- Returns:
- the valueFrom property value
-
setValueFrom
Set the valueFrom property value -
valueFrom
Set valueFrom in a chainable fashion.- Returns:
- The same instance of V1EnvVar for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-