Class V1VolumeAttachmentSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1VolumeAttachmentSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1VolumeAttachmentSpec
extends Object
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
attacher indicates the name of the volume driver that MUST handle this request.nodeName represents the node that the volume should be attached to.Get sourceint
hashCode()
void
setAttacher
(String attacher) void
setNodeName
(String nodeName) void
setSource
(V1VolumeAttachmentSource source) source
(V1VolumeAttachmentSource source) toString()
-
Field Details
-
SERIALIZED_NAME_ATTACHER
- See Also:
-
SERIALIZED_NAME_NODE_NAME
- See Also:
-
SERIALIZED_NAME_SOURCE
- See Also:
-
-
Constructor Details
-
V1VolumeAttachmentSpec
public V1VolumeAttachmentSpec()
-
-
Method Details
-
attacher
-
getAttacher
attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().- Returns:
- attacher
-
setAttacher
-
nodeName
-
getNodeName
nodeName represents the node that the volume should be attached to.- Returns:
- nodeName
-
setNodeName
-
source
-
getSource
Get source- Returns:
- source
-
setSource
-
equals
-
hashCode
public int hashCode() -
toString
-