public class ListVolumeInitiatorsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
ListVolumeInitiatorsOutput
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
initiators
The host names and port numbers of all iSCSI initiators that are
connected to the gateway.
|
Constructor and Description |
---|
ListVolumeInitiatorsResult() |
Modifier and Type | Method and Description |
---|---|
ListVolumeInitiatorsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getInitiators()
The host names and port numbers of all iSCSI initiators that are
connected to the gateway.
|
int |
hashCode() |
void |
setInitiators(java.util.Collection<java.lang.String> initiators)
The host names and port numbers of all iSCSI initiators that are
connected to the gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListVolumeInitiatorsResult |
withInitiators(java.util.Collection<java.lang.String> initiators)
The host names and port numbers of all iSCSI initiators that are
connected to the gateway.
|
ListVolumeInitiatorsResult |
withInitiators(java.lang.String... initiators)
The host names and port numbers of all iSCSI initiators that are
connected to the gateway.
|
private SdkInternalList<java.lang.String> initiators
The host names and port numbers of all iSCSI initiators that are connected to the gateway.
public java.util.List<java.lang.String> getInitiators()
The host names and port numbers of all iSCSI initiators that are connected to the gateway.
public void setInitiators(java.util.Collection<java.lang.String> initiators)
The host names and port numbers of all iSCSI initiators that are connected to the gateway.
initiators
- The host names and port numbers of all iSCSI initiators that are
connected to the gateway.public ListVolumeInitiatorsResult withInitiators(java.lang.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.
initiators
- The host names and port numbers of all iSCSI initiators that are
connected to the gateway.public ListVolumeInitiatorsResult withInitiators(java.util.Collection<java.lang.String> initiators)
The host names and port numbers of all iSCSI initiators that are connected to the gateway.
initiators
- The host names and port numbers of all iSCSI initiators that are
connected to the gateway.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListVolumeInitiatorsResult clone()
clone
in class java.lang.Object