Class V1DownwardAPIVolumeFile
java.lang.Object
io.kubernetes.client.openapi.models.V1DownwardAPIVolumeFile
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1DownwardAPIVolumeFile
extends Object
DownwardAPIVolumeFile represents information to create the file containing the pod field
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
fieldRef
(V1ObjectFieldSelector fieldRef) Get fieldRefgetMode()
Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.getPath()
Required: Path is the relative path name of the file to be created.Get resourceFieldRefint
hashCode()
resourceFieldRef
(V1ResourceFieldSelector resourceFieldRef) void
setFieldRef
(V1ObjectFieldSelector fieldRef) void
void
void
setResourceFieldRef
(V1ResourceFieldSelector resourceFieldRef) toString()
-
Field Details
-
SERIALIZED_NAME_FIELD_REF
- See Also:
-
SERIALIZED_NAME_MODE
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_RESOURCE_FIELD_REF
- See Also:
-
-
Constructor Details
-
V1DownwardAPIVolumeFile
public V1DownwardAPIVolumeFile()
-
-
Method Details
-
fieldRef
-
getFieldRef
Get fieldRef- Returns:
- fieldRef
-
setFieldRef
-
mode
-
getMode
Optional: mode bits used to set permissions on this file, 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. If not specified, the volume defaultMode will be used. 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:
- mode
-
setMode
-
path
-
getPath
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'- Returns:
- path
-
setPath
-
resourceFieldRef
-
getResourceFieldRef
Get resourceFieldRef- Returns:
- resourceFieldRef
-
setResourceFieldRef
-
equals
-
hashCode
public int hashCode() -
toString
-