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 ListEventSourceMappingsResultclone()booleanequals(Object obj)List<EventSourceMappingConfiguration>getEventSourceMappings()An array ofEventSourceMappingConfigurationobjects.StringgetNextMarker()A string, present if there are more event source mappings.inthashCode()voidsetEventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings)An array ofEventSourceMappingConfigurationobjects.voidsetNextMarker(String nextMarker)A string, present if there are more event source mappings.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListEventSourceMappingsResultwithEventSourceMappings(EventSourceMappingConfiguration... eventSourceMappings)An array ofEventSourceMappingConfigurationobjects.ListEventSourceMappingsResultwithEventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings)An array ofEventSourceMappingConfigurationobjects.ListEventSourceMappingsResultwithNextMarker(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
EventSourceMappingConfigurationobjects.- Returns:
- An array of
EventSourceMappingConfigurationobjects.
-
setEventSourceMappings
public void setEventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings)
An array of
EventSourceMappingConfigurationobjects.- Parameters:
eventSourceMappings- An array ofEventSourceMappingConfigurationobjects.
-
withEventSourceMappings
public ListEventSourceMappingsResult withEventSourceMappings(EventSourceMappingConfiguration... eventSourceMappings)
An array of
EventSourceMappingConfigurationobjects.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 ofEventSourceMappingConfigurationobjects.- 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
EventSourceMappingConfigurationobjects.- Parameters:
eventSourceMappings- An array ofEventSourceMappingConfigurationobjects.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListEventSourceMappingsResult clone()
-
-