@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateListenerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateListenerResult() |
Modifier and Type | Method and Description |
---|---|
CreateListenerResult |
clone() |
boolean |
equals(Object obj) |
List<Listener> |
getListeners()
Information about the listener.
|
int |
hashCode() |
void |
setListeners(Collection<Listener> listeners)
Information about the listener.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateListenerResult |
withListeners(Collection<Listener> listeners)
Information about the listener.
|
CreateListenerResult |
withListeners(Listener... listeners)
Information about the listener.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Listener> getListeners()
Information about the listener.
public void setListeners(Collection<Listener> listeners)
Information about the listener.
listeners
- Information about the listener.public CreateListenerResult withListeners(Listener... listeners)
Information about the 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 listener.public CreateListenerResult withListeners(Collection<Listener> listeners)
Information about the listener.
listeners
- Information about the listener.public String toString()
toString
in class Object
Object.toString()
public CreateListenerResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.