Class SecretEnvSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.SecretEnvSource
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class SecretEnvSource extends java.lang.Object implements com.marcnuri.yakc.model.Model
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecretEnvSource.SecretEnvSourceBuilder
-
Constructor Summary
Constructors Constructor Description SecretEnvSource()
SecretEnvSource(java.lang.String name, java.lang.Boolean optional)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecretEnvSource.SecretEnvSourceBuilder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getName()
Name of the referent.java.lang.Boolean
getOptional()
Specify whether the Secret must be definedint
hashCode()
void
setName(java.lang.String name)
Name of the referent.void
setOptional(java.lang.Boolean optional)
Specify whether the Secret must be definedSecretEnvSource.SecretEnvSourceBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static SecretEnvSource.SecretEnvSourceBuilder builder()
-
toBuilder
public SecretEnvSource.SecretEnvSourceBuilder toBuilder()
-
getName
public java.lang.String getName()
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
-
getOptional
public java.lang.Boolean getOptional()
Specify whether the Secret must be defined
-
setName
public void setName(java.lang.String name)
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
-
setOptional
public void setOptional(java.lang.Boolean optional)
Specify whether the Secret must be defined
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-