public class ListEventSourcesRequest extends AmazonWebServiceRequest implements Serializable
ListEventSources operation.
Returns a list of event source mappings you created using the
AddEventSource (see AddEventSource), where you identify a
stream as event source. This list does not include Amazon S3 event
sources.
For each mapping, the API returns configuration information. You can optionally specify filters to retrieve specific event source mappings.
This operation requires permission for the
lambda:ListEventSources action.
NOOP| Constructor and Description |
|---|
ListEventSourcesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
|
String |
getFunctionName()
The name of the AWS Lambda function.
|
String |
getMarker()
Optional string.
|
Integer |
getMaxItems()
Optional integer.
|
int |
hashCode() |
void |
setEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
|
void |
setFunctionName(String functionName)
The name of the AWS Lambda function.
|
void |
setMarker(String marker)
Optional string.
|
void |
setMaxItems(Integer maxItems)
Optional integer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListEventSourcesRequest |
withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
|
ListEventSourcesRequest |
withFunctionName(String functionName)
The name of the AWS Lambda function.
|
ListEventSourcesRequest |
withMarker(String marker)
Optional string.
|
ListEventSourcesRequest |
withMaxItems(Integer maxItems)
Optional integer.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getEventSourceArn()
public void setEventSourceArn(String eventSourceArn)
eventSourceArn - The Amazon Resource Name (ARN) of the Amazon Kinesis stream.public ListEventSourcesRequest withEventSourceArn(String eventSourceArn)
Returns a reference to this object so that method calls can be chained together.
eventSourceArn - The Amazon Resource Name (ARN) of the Amazon Kinesis stream.public String getFunctionName()
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9-_]+
public void setFunctionName(String functionName)
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9-_]+
functionName - The name of the AWS Lambda function.public ListEventSourcesRequest withFunctionName(String functionName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9-_]+
functionName - The name of the AWS Lambda function.public String getMarker()
ListEventSources operation. If present, specifies to
continue the list from where the returning call left off.ListEventSources operation. If present, specifies to
continue the list from where the returning call left off.public void setMarker(String marker)
ListEventSources operation. If present, specifies to
continue the list from where the returning call left off.marker - Optional string. An opaque pagination token returned from a previous
ListEventSources operation. If present, specifies to
continue the list from where the returning call left off.public ListEventSourcesRequest withMarker(String marker)
ListEventSources operation. If present, specifies to
continue the list from where the returning call left off.
Returns a reference to this object so that method calls can be chained together.
marker - Optional string. An opaque pagination token returned from a previous
ListEventSources operation. If present, specifies to
continue the list from where the returning call left off.public Integer getMaxItems()
Constraints:
Range: 1 - 10000
public void setMaxItems(Integer maxItems)
Constraints:
Range: 1 - 10000
maxItems - Optional integer. Specifies the maximum number of event sources to
return in response. This value must be greater than 0.public ListEventSourcesRequest withMaxItems(Integer maxItems)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10000
maxItems - Optional integer. Specifies the maximum number of event sources to
return in response. This value must be greater than 0.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.