Class V1SecretEnvSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1SecretEnvSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1SecretEnvSource
extends Object
SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name of the referent.Specify whether the Secret must be definedint
hashCode()
Set name in a chainable fashion.Set optional in a chainable fashion.void
Set the name property valuevoid
setOptional
(Boolean optional) Set the optional property valuetoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPTIONAL
- See Also:
-
-
Constructor Details
-
V1SecretEnvSource
public V1SecretEnvSource()
-
-
Method Details
-
getName
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names- Returns:
- the name property value
-
setName
Set the name property value- Parameters:
name
- property value to set
-
name
Set name in a chainable fashion.- Returns:
- The same instance of V1SecretEnvSource for chaining.
-
getOptional
Specify whether the Secret must be defined- Returns:
- the optional property value
-
setOptional
Set the optional property value- Parameters:
optional
- property value to set
-
optional
Set optional in a chainable fashion.- Returns:
- The same instance of V1SecretEnvSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-