Interface ListEventSourceMappingsRequest.Builder

    • Method Detail

      • eventSourceArn

        ListEventSourceMappingsRequest.Builder eventSourceArn​(String eventSourceArn)

        The Amazon Resource Name (ARN) of the event source.

        • Amazon Kinesis – The ARN of the data stream or a stream consumer.

        • Amazon DynamoDB Streams – The ARN of the stream.

        • Amazon Simple Queue Service – The ARN of the queue.

        • Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).

        • Amazon MQ – The ARN of the broker.

        • Amazon DocumentDB – The ARN of the DocumentDB change stream.

        Parameters:
        eventSourceArn - The Amazon Resource Name (ARN) of the event source.

        • Amazon Kinesis – The ARN of the data stream or a stream consumer.

        • Amazon DynamoDB Streams – The ARN of the stream.

        • Amazon Simple Queue Service – The ARN of the queue.

        • Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).

        • Amazon MQ – The ARN of the broker.

        • Amazon DocumentDB – The ARN of the DocumentDB change stream.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • functionName

        ListEventSourceMappingsRequest.Builder functionName​(String functionName)

        The name or ARN of the Lambda function.

        Name formats

        • Function nameMyFunction.

        • Function ARNarn:aws:lambda:us-west-2:123456789012:function:MyFunction.

        • Version or Alias ARNarn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

        • Partial ARN123456789012:function:MyFunction.

        The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

        Parameters:
        functionName - The name or ARN of the Lambda function.

        Name formats

        • Function nameMyFunction.

        • Function ARNarn:aws:lambda:us-west-2:123456789012:function:MyFunction.

        • Version or Alias ARNarn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

        • Partial ARN123456789012:function:MyFunction.

        The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • marker

        ListEventSourceMappingsRequest.Builder marker​(String marker)

        A pagination token returned by a previous call.

        Parameters:
        marker - A pagination token returned by a previous call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxItems

        ListEventSourceMappingsRequest.Builder maxItems​(Integer maxItems)

        The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of 100 items in each response, even if you set the number higher.

        Parameters:
        maxItems - The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of 100 items in each response, even if you set the number higher.
        Returns:
        Returns a reference to this object so that method calls can be chained together.