Class VolumeiSCSIAttributes

    • Constructor Detail

      • VolumeiSCSIAttributes

        public VolumeiSCSIAttributes()
    • Method Detail

      • setTargetARN

        public void setTargetARN​(String targetARN)

        The Amazon Resource Name (ARN) of the volume target.

        Parameters:
        targetARN - The Amazon Resource Name (ARN) of the volume target.
      • getTargetARN

        public String getTargetARN()

        The Amazon Resource Name (ARN) of the volume target.

        Returns:
        The Amazon Resource Name (ARN) of the volume target.
      • withTargetARN

        public VolumeiSCSIAttributes withTargetARN​(String targetARN)

        The Amazon Resource Name (ARN) of the volume target.

        Parameters:
        targetARN - The Amazon Resource Name (ARN) of the volume target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNetworkInterfaceId

        public void setNetworkInterfaceId​(String networkInterfaceId)

        The network interface identifier.

        Parameters:
        networkInterfaceId - The network interface identifier.
      • getNetworkInterfaceId

        public String getNetworkInterfaceId()

        The network interface identifier.

        Returns:
        The network interface identifier.
      • withNetworkInterfaceId

        public VolumeiSCSIAttributes withNetworkInterfaceId​(String networkInterfaceId)

        The network interface identifier.

        Parameters:
        networkInterfaceId - The network interface identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNetworkInterfacePort

        public void setNetworkInterfacePort​(Integer networkInterfacePort)

        The port used to communicate with iSCSI targets.

        Parameters:
        networkInterfacePort - The port used to communicate with iSCSI targets.
      • getNetworkInterfacePort

        public Integer getNetworkInterfacePort()

        The port used to communicate with iSCSI targets.

        Returns:
        The port used to communicate with iSCSI targets.
      • withNetworkInterfacePort

        public VolumeiSCSIAttributes withNetworkInterfacePort​(Integer networkInterfacePort)

        The port used to communicate with iSCSI targets.

        Parameters:
        networkInterfacePort - The port used to communicate with iSCSI targets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLunNumber

        public void setLunNumber​(Integer lunNumber)

        The logical disk number.

        Parameters:
        lunNumber - The logical disk number.
      • getLunNumber

        public Integer getLunNumber()

        The logical disk number.

        Returns:
        The logical disk number.
      • withLunNumber

        public VolumeiSCSIAttributes withLunNumber​(Integer lunNumber)

        The logical disk number.

        Parameters:
        lunNumber - The logical disk number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setChapEnabled

        public void setChapEnabled​(Boolean chapEnabled)

        Indicates whether mutual CHAP is enabled for the iSCSI target.

        Parameters:
        chapEnabled - Indicates whether mutual CHAP is enabled for the iSCSI target.
      • getChapEnabled

        public Boolean getChapEnabled()

        Indicates whether mutual CHAP is enabled for the iSCSI target.

        Returns:
        Indicates whether mutual CHAP is enabled for the iSCSI target.
      • withChapEnabled

        public VolumeiSCSIAttributes withChapEnabled​(Boolean chapEnabled)

        Indicates whether mutual CHAP is enabled for the iSCSI target.

        Parameters:
        chapEnabled - Indicates whether mutual CHAP is enabled for the iSCSI target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isChapEnabled

        public Boolean isChapEnabled()

        Indicates whether mutual CHAP is enabled for the iSCSI target.

        Returns:
        Indicates whether mutual CHAP is enabled for the iSCSI target.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object