@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListVolumeInitiatorsResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getInitiators()
The host names and port numbers of all iSCSI initiators that are connected to the gateway.
public void setInitiators(Collection<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(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(Collection<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 String toString()
toString
in class Object
Object.toString()
public ListVolumeInitiatorsResult clone()