Package kubevirt.io
Class V1SecretVolumeSource
- java.lang.Object
-
- kubevirt.io.V1SecretVolumeSource
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1SecretVolumeSource extends java.lang.ObjectSecretVolumeSource adapts a Secret into a volume.
-
-
Constructor Summary
Constructors Constructor Description V1SecretVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetSecretName()Name of the secret in the pod's namespace to use.inthashCode()java.lang.BooleanisOptional()Specify whether the Secret or it's keys must be defined +optionalV1SecretVolumeSourceoptional(java.lang.Boolean optional)V1SecretVolumeSourcesecretName(java.lang.String secretName)voidsetOptional(java.lang.Boolean optional)voidsetSecretName(java.lang.String secretName)java.lang.StringtoString()
-
-
-
Method Detail
-
optional
public V1SecretVolumeSource optional(java.lang.Boolean optional)
-
isOptional
public java.lang.Boolean isOptional()
Specify whether the Secret or it's keys must be defined +optional- Returns:
- optional
-
setOptional
public void setOptional(java.lang.Boolean optional)
-
secretName
public V1SecretVolumeSource secretName(java.lang.String secretName)
-
getSecretName
public java.lang.String getSecretName()
Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional- Returns:
- secretName
-
setSecretName
public void setSecretName(java.lang.String secretName)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-