Class ListVolumeInitiatorsResult

java.lang.Object
com.amazonaws.services.storagegateway.model.ListVolumeInitiatorsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListVolumeInitiatorsResult extends Object implements Serializable, Cloneable

ListVolumeInitiatorsOutput

See Also:
  • Constructor Details

    • ListVolumeInitiatorsResult

      public ListVolumeInitiatorsResult()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object