Class V1GlusterfsPersistentVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1GlusterfsPersistentVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1GlusterfsPersistentVolumeSource
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet endpoints in a chainable fashion.endpointsNamespace
(String endpointsNamespace) Set endpointsNamespace in a chainable fashion.boolean
endpoints is the endpoint name that details Glusterfs topology.endpointsNamespace is the namespace that contains Glusterfs endpoint.getPath()
path is the Glusterfs volume path.readOnly here will force the Glusterfs volume to be mounted with read-only permissions.int
hashCode()
Set path in a chainable fashion.Set readOnly in a chainable fashion.void
setEndpoints
(String endpoints) Set the endpoints property valuevoid
setEndpointsNamespace
(String endpointsNamespace) Set the endpointsNamespace property valuevoid
Set the path property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuetoString()
-
Field Details
-
JSON_PROPERTY_ENDPOINTS
- See Also:
-
JSON_PROPERTY_PATH
- See Also:
-
JSON_PROPERTY_ENDPOINTS_NAMESPACE
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
-
Constructor Details
-
V1GlusterfsPersistentVolumeSource
-
-
Method Details
-
getEndpoints
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
- the endpoints property value
-
setEndpoints
Set the endpoints property value- Parameters:
endpoints
- property value to set
-
endpoints
Set endpoints in a chainable fashion.- Returns:
- The same instance of V1GlusterfsPersistentVolumeSource for chaining.
-
getPath
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod- Returns:
- the path property value
-
setPath
Set the path property value- Parameters:
path
- property value to set
-
path
Set path in a chainable fashion.- Returns:
- The same instance of V1GlusterfsPersistentVolumeSource for chaining.
-
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:
- the endpointsNamespace property value
-
setEndpointsNamespace
Set the endpointsNamespace property value- Parameters:
endpointsNamespace
- property value to set
-
endpointsNamespace
Set endpointsNamespace in a chainable fashion.- Returns:
- The same instance of V1GlusterfsPersistentVolumeSource for chaining.
-
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:
- the readOnly property value
-
setReadOnly
Set the readOnly property value- Parameters:
readOnly
- property value to set
-
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1GlusterfsPersistentVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-