Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1GlusterfsPersistentVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1GlusterfsPersistentVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1GlusterfsPersistentVolumeSource 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_ENDPOINTS_NAMESPACEstatic StringJSON_PROPERTY_PATHstatic StringJSON_PROPERTY_READ_ONLY
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1GlusterfsPersistentVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1GlusterfsPersistentVolumeSourceendpoints(String endpoints)IoK8sApiCoreV1GlusterfsPersistentVolumeSourceendpointsNamespace(String endpointsNamespace)booleanequals(Object o)StringgetEndpoints()EndpointsName is the endpoint name that details Glusterfs topology.StringgetEndpointsNamespace()EndpointsNamespace is the namespace that contains Glusterfs endpoint.StringgetPath()Path is the Glusterfs volume path.BooleangetReadOnly()ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.inthashCode()IoK8sApiCoreV1GlusterfsPersistentVolumeSourcepath(String path)IoK8sApiCoreV1GlusterfsPersistentVolumeSourcereadOnly(Boolean readOnly)voidsetEndpoints(String endpoints)voidsetEndpointsNamespace(String endpointsNamespace)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_ENDPOINTS_NAMESPACE
public static final String JSON_PROPERTY_ENDPOINTS_NAMESPACE
- 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 IoK8sApiCoreV1GlusterfsPersistentVolumeSource 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)
-
endpointsNamespace
public IoK8sApiCoreV1GlusterfsPersistentVolumeSource endpointsNamespace(String endpointsNamespace)
-
getEndpointsNamespace
@Nullable public String getEndpointsNamespace()
EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
- endpointsNamespace
-
setEndpointsNamespace
public void setEndpointsNamespace(String endpointsNamespace)
-
path
public IoK8sApiCoreV1GlusterfsPersistentVolumeSource 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 IoK8sApiCoreV1GlusterfsPersistentVolumeSource 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)
-
-