Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1DownwardAPIVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1DownwardAPIVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1DownwardAPIVolumeSource extends Object
DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DEFAULT_MODEstatic StringJSON_PROPERTY_ITEMS
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1DownwardAPIVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1DownwardAPIVolumeSourceaddItemsItem(IoK8sApiCoreV1DownwardAPIVolumeFile itemsItem)IoK8sApiCoreV1DownwardAPIVolumeSourcedefaultMode(Integer defaultMode)booleanequals(Object o)IntegergetDefaultMode()Optional: mode bits to use on created files by default.List<IoK8sApiCoreV1DownwardAPIVolumeFile>getItems()Items is a list of downward API volume fileinthashCode()IoK8sApiCoreV1DownwardAPIVolumeSourceitems(List<IoK8sApiCoreV1DownwardAPIVolumeFile> items)voidsetDefaultMode(Integer defaultMode)voidsetItems(List<IoK8sApiCoreV1DownwardAPIVolumeFile> items)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DEFAULT_MODE
public static final String JSON_PROPERTY_DEFAULT_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ITEMS
public static final String JSON_PROPERTY_ITEMS
- See Also:
- Constant Field Values
-
-
Method Detail
-
defaultMode
public IoK8sApiCoreV1DownwardAPIVolumeSource defaultMode(Integer defaultMode)
-
getDefaultMode
@Nullable public Integer getDefaultMode()
Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. 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:
- defaultMode
-
setDefaultMode
public void setDefaultMode(Integer defaultMode)
-
items
public IoK8sApiCoreV1DownwardAPIVolumeSource items(List<IoK8sApiCoreV1DownwardAPIVolumeFile> items)
-
addItemsItem
public IoK8sApiCoreV1DownwardAPIVolumeSource addItemsItem(IoK8sApiCoreV1DownwardAPIVolumeFile itemsItem)
-
getItems
@Nullable public List<IoK8sApiCoreV1DownwardAPIVolumeFile> getItems()
Items is a list of downward API volume file- Returns:
- items
-
setItems
public void setItems(List<IoK8sApiCoreV1DownwardAPIVolumeFile> items)
-
-