Class V1ProjectedVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ProjectedVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ProjectedVolumeSource
extends Object
Represents a projected volume source
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddsourcesItem
(V1VolumeProjection sourcesItem) Add an item to the sources property in a chainable fashion.defaultMode
(Integer defaultMode) Set defaultMode in a chainable fashion.boolean
defaultMode are the mode bits used to set permissions on created files by default.List<@Valid V1VolumeProjection>
sources is the list of volume projectionsint
hashCode()
void
setDefaultMode
(Integer defaultMode) Set the defaultMode property valuevoid
setSources
(List<@Valid V1VolumeProjection> sources) Set the sources property valuesources
(List<@Valid V1VolumeProjection> sources) Set sources in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_DEFAULT_MODE
- See Also:
-
JSON_PROPERTY_SOURCES
- See Also:
-
-
Constructor Details
-
V1ProjectedVolumeSource
public V1ProjectedVolumeSource()
-
-
Method Details
-
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.- Returns:
- the defaultMode property value
-
setDefaultMode
Set the defaultMode property value- Parameters:
defaultMode
- property value to set
-
defaultMode
Set defaultMode in a chainable fashion.- Returns:
- The same instance of V1ProjectedVolumeSource for chaining.
-
getSources
sources is the list of volume projections- Returns:
- the sources property value
-
setSources
Set the sources property value- Parameters:
sources
- property value to set
-
sources
Set sources in a chainable fashion.- Returns:
- The same instance of V1ProjectedVolumeSource for chaining.
-
addsourcesItem
Add an item to the sources property in a chainable fashion.- Returns:
- The same instance of V1ProjectedVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-