Class ListVolumeInitiatorsResult

    • Constructor Detail

      • ListVolumeInitiatorsResult

        public ListVolumeInitiatorsResult()
    • Method Detail

      • getInitiators

        public List<String> getInitiators()

        The host names and port numbers of all iSCSI initiators that are connected to the gateway.

        Returns:
        The host names and port numbers of all iSCSI initiators that are connected to the gateway.
      • setInitiators

        public void setInitiators​(Collection<String> initiators)

        The host names and port numbers of all iSCSI initiators that are connected to the gateway.

        Parameters:
        initiators - The host names and port numbers of all iSCSI initiators that are connected to the gateway.
      • withInitiators

        public ListVolumeInitiatorsResult withInitiators​(String... initiators)

        The host names and port numbers of all iSCSI initiators that are connected to the gateway.

        NOTE: This method appends the values to the existing list (if any). Use setInitiators(java.util.Collection) or withInitiators(java.util.Collection) if you want to override the existing values.

        Parameters:
        initiators - The host names and port numbers of all iSCSI initiators that are connected to the gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withInitiators

        public ListVolumeInitiatorsResult withInitiators​(Collection<String> initiators)

        The host names and port numbers of all iSCSI initiators that are connected to the gateway.

        Parameters:
        initiators - The host names and port numbers of all iSCSI initiators that are connected to the gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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