Class V1DownwardAPIVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1DownwardAPIVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1DownwardAPIVolumeSource
extends Object
DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditemsItem
(V1DownwardAPIVolumeFile itemsItem) Add an item to the items property in a chainable fashion.defaultMode
(Integer defaultMode) Set defaultMode in a chainable fashion.boolean
Optional: mode bits to use on created files by default.List<@Valid V1DownwardAPIVolumeFile>
getItems()
Items is a list of downward API volume fileint
hashCode()
items
(List<@Valid V1DownwardAPIVolumeFile> items) Set items in a chainable fashion.void
setDefaultMode
(Integer defaultMode) Set the defaultMode property valuevoid
setItems
(List<@Valid V1DownwardAPIVolumeFile> items) Set the items property valuetoString()
-
Field Details
-
JSON_PROPERTY_DEFAULT_MODE
- See Also:
-
JSON_PROPERTY_ITEMS
- See Also:
-
-
Constructor Details
-
V1DownwardAPIVolumeSource
public V1DownwardAPIVolumeSource()
-
-
Method Details
-
getDefaultMode
Optional: mode bits to use on created files by default. Must be a Optional: 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. Defaults to 0644. 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 -
defaultMode
Set defaultMode in a chainable fashion.- Returns:
- The same instance of V1DownwardAPIVolumeSource for chaining.
-
getItems
Items is a list of downward API volume file- Returns:
- the items property value
-
setItems
Set the items property value -
items
Set items in a chainable fashion.- Returns:
- The same instance of V1DownwardAPIVolumeSource for chaining.
-
additemsItem
Add an item to the items property in a chainable fashion.- Returns:
- The same instance of V1DownwardAPIVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-