public class ListEventSourceMappingsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains a list of event sources (see API_EventSourceMappingConfiguration)
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<EventSourceMappingConfiguration> |
eventSourceMappings
An array of
EventSourceMappingConfiguration objects. |
private java.lang.String |
nextMarker
A string, present if there are more event source mappings.
|
Constructor and Description |
---|
ListEventSourceMappingsResult() |
Modifier and Type | Method and Description |
---|---|
ListEventSourceMappingsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<EventSourceMappingConfiguration> |
getEventSourceMappings()
An array of
EventSourceMappingConfiguration objects. |
java.lang.String |
getNextMarker()
A string, present if there are more event source mappings.
|
int |
hashCode() |
void |
setEventSourceMappings(java.util.Collection<EventSourceMappingConfiguration> eventSourceMappings)
An array of
EventSourceMappingConfiguration objects. |
void |
setNextMarker(java.lang.String nextMarker)
A string, present if there are more event source mappings.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListEventSourceMappingsResult |
withEventSourceMappings(java.util.Collection<EventSourceMappingConfiguration> eventSourceMappings)
An array of
EventSourceMappingConfiguration objects. |
ListEventSourceMappingsResult |
withEventSourceMappings(EventSourceMappingConfiguration... eventSourceMappings)
An array of
EventSourceMappingConfiguration objects. |
ListEventSourceMappingsResult |
withNextMarker(java.lang.String nextMarker)
A string, present if there are more event source mappings.
|
private java.lang.String nextMarker
A string, present if there are more event source mappings.
private SdkInternalList<EventSourceMappingConfiguration> eventSourceMappings
An array of EventSourceMappingConfiguration
objects.
public void setNextMarker(java.lang.String nextMarker)
A string, present if there are more event source mappings.
nextMarker
- A string, present if there are more event source mappings.public java.lang.String getNextMarker()
A string, present if there are more event source mappings.
public ListEventSourceMappingsResult withNextMarker(java.lang.String nextMarker)
A string, present if there are more event source mappings.
nextMarker
- A string, present if there are more event source mappings.public java.util.List<EventSourceMappingConfiguration> getEventSourceMappings()
An array of EventSourceMappingConfiguration
objects.
EventSourceMappingConfiguration
objects.public void setEventSourceMappings(java.util.Collection<EventSourceMappingConfiguration> eventSourceMappings)
An array of EventSourceMappingConfiguration
objects.
eventSourceMappings
- An array of EventSourceMappingConfiguration
objects.public ListEventSourceMappingsResult withEventSourceMappings(EventSourceMappingConfiguration... eventSourceMappings)
An array of EventSourceMappingConfiguration
objects.
NOTE: This method appends the values to the existing list (if
any). Use setEventSourceMappings(java.util.Collection)
or
withEventSourceMappings(java.util.Collection)
if you want to
override the existing values.
eventSourceMappings
- An array of EventSourceMappingConfiguration
objects.public ListEventSourceMappingsResult withEventSourceMappings(java.util.Collection<EventSourceMappingConfiguration> eventSourceMappings)
An array of EventSourceMappingConfiguration
objects.
eventSourceMappings
- An array of EventSourceMappingConfiguration
objects.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListEventSourceMappingsResult clone()
clone
in class java.lang.Object