@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyListenerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ModifyListenerResult() |
Modifier and Type | Method and Description |
---|---|
ModifyListenerResult |
clone() |
boolean |
equals(Object obj) |
List<Listener> |
getListeners()
Information about the modified listener.
|
int |
hashCode() |
void |
setListeners(Collection<Listener> listeners)
Information about the modified listener.
|
String |
toString()
Returns a string representation of this object.
|
ModifyListenerResult |
withListeners(Collection<Listener> listeners)
Information about the modified listener.
|
ModifyListenerResult |
withListeners(Listener... listeners)
Information about the modified listener.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Listener> getListeners()
Information about the modified listener.
public void setListeners(Collection<Listener> listeners)
Information about the modified listener.
listeners
- Information about the modified listener.public ModifyListenerResult withListeners(Listener... listeners)
Information about the modified listener.
NOTE: This method appends the values to the existing list (if any). Use
setListeners(java.util.Collection)
or withListeners(java.util.Collection)
if you want to
override the existing values.
listeners
- Information about the modified listener.public ModifyListenerResult withListeners(Collection<Listener> listeners)
Information about the modified listener.
listeners
- Information about the modified listener.public String toString()
toString
in class Object
Object.toString()
public ModifyListenerResult clone()