Class AttachedVolume

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

    public class AttachedVolume
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    AttachedVolume describes a volume attached to a node
    • Constructor Detail

      • AttachedVolume

        public AttachedVolume​(@NonNull
                              @NonNull java.lang.String devicePath,
                              @NonNull
                              @NonNull java.lang.String name)
      • AttachedVolume

        public AttachedVolume()
    • Method Detail

      • getDevicePath

        @NonNull
        public @NonNull java.lang.String getDevicePath()
        DevicePath represents the device path where the volume should be available
      • getName

        @NonNull
        public @NonNull java.lang.String getName()
        Name of the attached volume
      • setDevicePath

        public void setDevicePath​(@NonNull
                                  @NonNull java.lang.String devicePath)
        DevicePath represents the device path where the volume should be available
      • setName

        public void setName​(@NonNull
                            @NonNull java.lang.String name)
        Name of the attached volume
      • 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