Package io.fabric8.openshift.api.model
Class BuildVolumeSource
- java.lang.Object
-
- io.fabric8.openshift.api.model.BuildVolumeSource
-
- All Implemented Interfaces:
Editable<BuildVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BuildVolumeSource extends Object implements Editable<BuildVolumeSourceBuilder>, 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(ConfigMapVolumeSource configMap, CSIVolumeSource csi, SecretVolumeSource secret, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()ConfigMapVolumeSourcegetConfigMap()BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.CSIVolumeSourcegetCsi()BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.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(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(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(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(ConfigMapVolumeSource configMap, CSIVolumeSource csi, SecretVolumeSource secret, String type)
-
-
Method Detail
-
getConfigMap
public 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(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 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(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 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(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 interfaceEditable<BuildVolumeSourceBuilder>
-
toBuilder
public BuildVolumeSourceBuilder toBuilder()
-
-