Package kubevirt.io

Class V1ConfigMapVolumeSource


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1ConfigMapVolumeSource
    extends java.lang.Object
    ConfigMapVolumeSource adapts a ConfigMap into a volume. More info: https://kubernetes.io/docs/concepts/storage/volumes/#configmap
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name  
      private java.lang.Boolean optional  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getName()
      Name of the referent.
      int hashCode()  
      java.lang.Boolean isOptional()
      Specify whether the ConfigMap or it's keys must be defined +optional
      V1ConfigMapVolumeSource name​(java.lang.String name)  
      V1ConfigMapVolumeSource optional​(java.lang.Boolean optional)  
      void setName​(java.lang.String name)  
      void setOptional​(java.lang.Boolean optional)  
      private java.lang.String toIndentedString​(java.lang.Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        private java.lang.String name
      • optional

        private java.lang.Boolean optional
    • Constructor Detail

      • V1ConfigMapVolumeSource

        public V1ConfigMapVolumeSource()
    • Method Detail

      • getName

        public java.lang.String getName()
        Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
      • isOptional

        public java.lang.Boolean isOptional()
        Specify whether the ConfigMap or it's keys must be defined +optional
        Returns:
        optional
      • setOptional

        public void setOptional​(java.lang.Boolean optional)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toIndentedString

        private java.lang.String toIndentedString​(java.lang.Object o)
        Convert the given object to string with each line indented by 4 spaces (except the first line).