Package io.fabric8.openshift.api.model
Class BuildVolumeSource
- java.lang.Object
-
- io.fabric8.openshift.api.model.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 serializationBuildVolumeSource(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 BuildVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.ConfigMapVolumeSourcegetConfigMap()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.CSIVolumeSourcegetCsi()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.SecretVolumeSourcegetSecret()BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.StringgetType()type is the BuildVolumeSourceType for the volume source.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfigMap(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.voidsetCsi(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.voidsetSecret(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.voidsetType(String type)type is the BuildVolumeSourceType for the volume source.BuildVolumeSourceBuildertoBuilder()
-
-
-
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
-
edit
public BuildVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BuildVolumeSourceBuilder>
-
toBuilder
public BuildVolumeSourceBuilder toBuilder()
-
-