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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListVolumeInitiatorsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... initiators)
The host names and port numbers of all iSCSI initiators that are connected to the gateway.ListVolumeInitiatorsResult
withInitiators(Collection<String> initiators)
The host names and port numbers of all iSCSI initiators that are connected to the gateway.
-
-
-
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)
orwithInitiators(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListVolumeInitiatorsResult clone()
-
-