Package io.fabric8.kubernetes.api.model
Class ProjectedVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ProjectedVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ProjectedVolumeSourceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ProjectedVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<ProjectedVolumeSourceBuilder>, KubernetesResource
Represents a projected volume source- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectedVolumeSource()
No args constructor for use in serializationProjectedVolumeSource(Integer defaultMode, List<VolumeProjection> sources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectedVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
Integer
getDefaultMode()
defaultMode are the mode bits used to set permissions on created files by default.List<VolumeProjection>
getSources()
sources is the list of volume projections.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setDefaultMode(Integer defaultMode)
defaultMode are the mode bits used to set permissions on created files by default.void
setSources(List<VolumeProjection> sources)
sources is the list of volume projections.ProjectedVolumeSourceBuilder
toBuilder()
-
-
-
Constructor Detail
-
ProjectedVolumeSource
public ProjectedVolumeSource()
No args constructor for use in serialization
-
ProjectedVolumeSource
public ProjectedVolumeSource(Integer defaultMode, List<VolumeProjection> sources)
-
-
Method Detail
-
getDefaultMode
public Integer getDefaultMode()
defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
-
setDefaultMode
public void setDefaultMode(Integer defaultMode)
defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
-
getSources
public List<VolumeProjection> getSources()
sources is the list of volume projections. Each entry in this list handles one source.
-
setSources
public void setSources(List<VolumeProjection> sources)
sources is the list of volume projections. Each entry in this list handles one source.
-
edit
public ProjectedVolumeSourceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<ProjectedVolumeSourceBuilder>
-
toBuilder
public ProjectedVolumeSourceBuilder toBuilder()
-
-