@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEventSourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEventSourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListEventSourcesResult |
clone() |
boolean |
equals(Object obj) |
List<EventSource> |
getEventSources()
The list of event sources.
|
String |
getNextToken()
A token you can use in a subsequent operation to retrieve the next set of results.
|
int |
hashCode() |
void |
setEventSources(Collection<EventSource> eventSources)
The list of event sources.
|
void |
setNextToken(String nextToken)
A token you can use in a subsequent operation to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListEventSourcesResult |
withEventSources(Collection<EventSource> eventSources)
The list of event sources.
|
ListEventSourcesResult |
withEventSources(EventSource... eventSources)
The list of event sources.
|
ListEventSourcesResult |
withNextToken(String nextToken)
A token you can use in a subsequent operation to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EventSource> getEventSources()
The list of event sources.
public void setEventSources(Collection<EventSource> eventSources)
The list of event sources.
eventSources
- The list of event sources.public ListEventSourcesResult withEventSources(EventSource... eventSources)
The list of event sources.
NOTE: This method appends the values to the existing list (if any). Use
setEventSources(java.util.Collection)
or withEventSources(java.util.Collection)
if you want to
override the existing values.
eventSources
- The list of event sources.public ListEventSourcesResult withEventSources(Collection<EventSource> eventSources)
The list of event sources.
eventSources
- The list of event sources.public void setNextToken(String nextToken)
A token you can use in a subsequent operation to retrieve the next set of results.
nextToken
- A token you can use in a subsequent operation to retrieve the next set of results.public String getNextToken()
A token you can use in a subsequent operation to retrieve the next set of results.
public ListEventSourcesResult withNextToken(String nextToken)
A token you can use in a subsequent operation to retrieve the next set of results.
nextToken
- A token you can use in a subsequent operation to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListEventSourcesResult clone()