public class ListVolumeInitiatorsResult extends Object implements Serializable, Cloneable
ListVolumeInitiatorsOutput
Constructor and Description |
---|
ListVolumeInitiatorsResult() |
Modifier and Type | Method and Description |
---|---|
ListVolumeInitiatorsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInitiators()
The host names and port numbers of all iSCSI initiators that are
connected to the gateway.
|
int |
hashCode() |
void |
setInitiators(Collection<String> initiators)
The host names and port numbers of all iSCSI initiators that are
connected to the gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListVolumeInitiatorsResult |
withInitiators(Collection<String> initiators)
The host names and port numbers of all iSCSI initiators that are
connected to the gateway.
|
ListVolumeInitiatorsResult |
withInitiators(String... initiators)
The host names and port numbers of all iSCSI initiators that are
connected to the gateway.
|
public List<String> getInitiators()
public void setInitiators(Collection<String> initiators)
initiators
- The host names and port numbers of all iSCSI initiators that are
connected to the gateway.public ListVolumeInitiatorsResult withInitiators(String... initiators)
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.
Returns a reference to this object so that method calls can be chained together.
initiators
- The host names and port numbers of all iSCSI initiators that are
connected to the gateway.public ListVolumeInitiatorsResult withInitiators(Collection<String> initiators)
Returns a reference to this object so that method calls can be chained together.
initiators
- The host names and port numbers of all iSCSI initiators that are
connected to the gateway.public String toString()
toString
in class Object
Object.toString()
public ListVolumeInitiatorsResult clone()
Copyright © 2015. All rights reserved.