Class VolumeAttachmentSpec

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class VolumeAttachmentSpec
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    VolumeAttachmentSpec is the specification of a VolumeAttachment request.
    • Constructor Detail

      • VolumeAttachmentSpec

        public VolumeAttachmentSpec​(@NonNull
                                    @NonNull java.lang.String attacher,
                                    @NonNull
                                    @NonNull java.lang.String nodeName,
                                    @NonNull
                                    @NonNull VolumeAttachmentSource source)
      • VolumeAttachmentSpec

        public VolumeAttachmentSpec()
    • Method Detail

      • getAttacher

        @NonNull
        public @NonNull java.lang.String getAttacher()
        Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
      • getNodeName

        @NonNull
        public @NonNull java.lang.String getNodeName()
        The node that the volume should be attached to.
      • setAttacher

        public void setAttacher​(@NonNull
                                @NonNull java.lang.String attacher)
        Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
      • setNodeName

        public void setNodeName​(@NonNull
                                @NonNull java.lang.String nodeName)
        The node that the volume should be attached to.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object