Class V1GlusterfsVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1GlusterfsVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1GlusterfsVolumeSource
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet endpoints in a chainable fashion.booleanendpoints is the endpoint name that details Glusterfs topology.getPath()path is the Glusterfs volume path.readOnly here will force the Glusterfs volume to be mounted with read-only permissions.inthashCode()Set path in a chainable fashion.Set readOnly in a chainable fashion.voidsetEndpoints(String endpoints) Set the endpoints property valuevoidSet the path property valuevoidsetReadOnly(Boolean readOnly) Set the readOnly property valuetoString()
-
Field Details
-
JSON_PROPERTY_ENDPOINTS
- See Also:
-
JSON_PROPERTY_PATH
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
-
Constructor Details
-
V1GlusterfsVolumeSource
-
-
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 V1GlusterfsVolumeSource 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 V1GlusterfsVolumeSource 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 V1GlusterfsVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-