Class V1VolumeAttachmentSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1VolumeAttachmentSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1VolumeAttachmentSpec
extends Object
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionV1VolumeAttachmentSpec
(String attacher, String nodeName, V1VolumeAttachmentSource source) -
Method Summary
Modifier and TypeMethodDescriptionSet attacher in a chainable fashion.boolean
attacher indicates the name of the volume driver that MUST handle this request.nodeName represents the node that the volume should be attached to.int
hashCode()
Set nodeName in a chainable fashion.void
setAttacher
(String attacher) Set the attacher property valuevoid
setNodeName
(String nodeName) Set the nodeName property valuevoid
setSource
(V1VolumeAttachmentSource source) Set the source property valuesource
(V1VolumeAttachmentSource source) Set source in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_ATTACHER
- See Also:
-
JSON_PROPERTY_NODE_NAME
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
-
Constructor Details
-
V1VolumeAttachmentSpec
-
-
Method Details
-
getAttacher
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().- Returns:
- the attacher property value
-
setAttacher
Set the attacher property value- Parameters:
attacher
- property value to set
-
attacher
Set attacher in a chainable fashion.- Returns:
- The same instance of V1VolumeAttachmentSpec for chaining.
-
getNodeName
nodeName represents the node that the volume should be attached to.- Returns:
- the nodeName property value
-
setNodeName
Set the nodeName property value- Parameters:
nodeName
- property value to set
-
nodeName
Set nodeName in a chainable fashion.- Returns:
- The same instance of V1VolumeAttachmentSpec for chaining.
-
getSource
- Returns:
- the source property value
-
setSource
Set the source property value- Parameters:
source
- property value to set
-
source
Set source in a chainable fashion.- Returns:
- The same instance of V1VolumeAttachmentSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-