Class BuildVolumeSource

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<BuildVolumeSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class BuildVolumeSource
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<BuildVolumeSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BuildVolumeSource()
      No args constructor for use in serialization
      BuildVolumeSource​(io.fabric8.kubernetes.api.model.ConfigMapVolumeSource configMap, io.fabric8.kubernetes.api.model.CSIVolumeSource csi, io.fabric8.kubernetes.api.model.SecretVolumeSource secret, String type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BuildVolumeSourceBuilder edit()  
      Map<String,​Object> getAdditionalProperties()  
      io.fabric8.kubernetes.api.model.ConfigMapVolumeSource getConfigMap()
      BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      io.fabric8.kubernetes.api.model.CSIVolumeSource getCsi()
      BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      io.fabric8.kubernetes.api.model.SecretVolumeSource getSecret()
      BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      String getType()
      type is the BuildVolumeSourceType for the volume source.
      void setAdditionalProperties​(Map<String,​Object> additionalProperties)  
      void setAdditionalProperty​(String name, Object value)  
      void setConfigMap​(io.fabric8.kubernetes.api.model.ConfigMapVolumeSource configMap)
      BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      void setCsi​(io.fabric8.kubernetes.api.model.CSIVolumeSource csi)
      BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      void setSecret​(io.fabric8.kubernetes.api.model.SecretVolumeSource secret)
      BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      void setType​(String type)
      type is the BuildVolumeSourceType for the volume source.
      BuildVolumeSourceBuilder toBuilder()  
    • Constructor Detail

      • BuildVolumeSource

        public BuildVolumeSource()
        No args constructor for use in serialization
      • BuildVolumeSource

        public BuildVolumeSource​(io.fabric8.kubernetes.api.model.ConfigMapVolumeSource configMap,
                                 io.fabric8.kubernetes.api.model.CSIVolumeSource csi,
                                 io.fabric8.kubernetes.api.model.SecretVolumeSource secret,
                                 String type)
    • Method Detail

      • getConfigMap

        public io.fabric8.kubernetes.api.model.ConfigMapVolumeSource getConfigMap()
        BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      • setConfigMap

        public void setConfigMap​(io.fabric8.kubernetes.api.model.ConfigMapVolumeSource configMap)
        BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      • getCsi

        public io.fabric8.kubernetes.api.model.CSIVolumeSource getCsi()
        BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      • setCsi

        public void setCsi​(io.fabric8.kubernetes.api.model.CSIVolumeSource csi)
        BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      • getSecret

        public io.fabric8.kubernetes.api.model.SecretVolumeSource getSecret()
        BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      • setSecret

        public void setSecret​(io.fabric8.kubernetes.api.model.SecretVolumeSource secret)
        BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.
      • getType

        public String getType()
        type is the BuildVolumeSourceType for the volume source. Type must match the populated volume source. Valid types are: Secret, ConfigMap
      • setType

        public void setType​(String type)
        type is the BuildVolumeSourceType for the volume source. Type must match the populated volume source. Valid types are: Secret, ConfigMap
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)