Class ListEventSourceMappingsResult
- java.lang.Object
-
- com.amazonaws.services.lambda.model.ListEventSourceMappingsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListEventSourceMappingsResult extends Object implements Serializable, Cloneable
Contains a list of event sources (see API_EventSourceMappingConfiguration)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListEventSourceMappingsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListEventSourceMappingsResult
clone()
boolean
equals(Object obj)
List<EventSourceMappingConfiguration>
getEventSourceMappings()
An array ofEventSourceMappingConfiguration
objects.String
getNextMarker()
A string, present if there are more event source mappings.int
hashCode()
void
setEventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings)
An array ofEventSourceMappingConfiguration
objects.void
setNextMarker(String nextMarker)
A string, present if there are more event source mappings.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListEventSourceMappingsResult
withEventSourceMappings(EventSourceMappingConfiguration... eventSourceMappings)
An array ofEventSourceMappingConfiguration
objects.ListEventSourceMappingsResult
withEventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings)
An array ofEventSourceMappingConfiguration
objects.ListEventSourceMappingsResult
withNextMarker(String nextMarker)
A string, present if there are more event source mappings.
-
-
-
Method Detail
-
setNextMarker
public void setNextMarker(String nextMarker)
A string, present if there are more event source mappings.
- Parameters:
nextMarker
- A string, present if there are more event source mappings.
-
getNextMarker
public String getNextMarker()
A string, present if there are more event source mappings.
- Returns:
- A string, present if there are more event source mappings.
-
withNextMarker
public ListEventSourceMappingsResult withNextMarker(String nextMarker)
A string, present if there are more event source mappings.
- Parameters:
nextMarker
- A string, present if there are more event source mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEventSourceMappings
public List<EventSourceMappingConfiguration> getEventSourceMappings()
An array of
EventSourceMappingConfiguration
objects.- Returns:
- An array of
EventSourceMappingConfiguration
objects.
-
setEventSourceMappings
public void setEventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings)
An array of
EventSourceMappingConfiguration
objects.- Parameters:
eventSourceMappings
- An array ofEventSourceMappingConfiguration
objects.
-
withEventSourceMappings
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)
orwithEventSourceMappings(java.util.Collection)
if you want to override the existing values.- Parameters:
eventSourceMappings
- An array ofEventSourceMappingConfiguration
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEventSourceMappings
public ListEventSourceMappingsResult withEventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings)
An array of
EventSourceMappingConfiguration
objects.- Parameters:
eventSourceMappings
- An array ofEventSourceMappingConfiguration
objects.- 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 ListEventSourceMappingsResult clone()
-
-