Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1GlusterfsVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1GlusterfsVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1GlusterfsVolumeSource extends Object
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ENDPOINTSstatic StringJSON_PROPERTY_PATHstatic StringJSON_PROPERTY_READ_ONLY
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1GlusterfsVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1GlusterfsVolumeSourceendpoints(String endpoints)booleanequals(Object o)StringgetEndpoints()EndpointsName is the endpoint name that details Glusterfs topology.StringgetPath()Path is the Glusterfs volume path.BooleangetReadOnly()ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.inthashCode()IoK8sApiCoreV1GlusterfsVolumeSourcepath(String path)IoK8sApiCoreV1GlusterfsVolumeSourcereadOnly(Boolean readOnly)voidsetEndpoints(String endpoints)voidsetPath(String path)voidsetReadOnly(Boolean readOnly)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ENDPOINTS
public static final String JSON_PROPERTY_ENDPOINTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PATH
public static final String JSON_PROPERTY_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
endpoints
public IoK8sApiCoreV1GlusterfsVolumeSource endpoints(String endpoints)
-
getEndpoints
public String getEndpoints()
EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
- endpoints
-
setEndpoints
public void setEndpoints(String endpoints)
-
path
public IoK8sApiCoreV1GlusterfsVolumeSource path(String path)
-
getPath
public String getPath()
Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
- path
-
setPath
public void setPath(String path)
-
readOnly
public IoK8sApiCoreV1GlusterfsVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
-