JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.lambda.model

Class InvokeAsyncRequest

    • Constructor Detail

      • InvokeAsyncRequest

        public InvokeAsyncRequest()
    • Method Detail

      • setFunctionName

        public void setFunctionName(String functionName)

        The name or ARN of the Lambda function.

        Name formats

        • Function namemy-function.

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

        • Partial ARN123456789012:function:my-function.

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

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

        Name formats

        • Function namemy-function.

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

        • Partial ARN123456789012:function:my-function.

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

      • getFunctionName

        public String getFunctionName()

        The name or ARN of the Lambda function.

        Name formats

        • Function namemy-function.

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

        • Partial ARN123456789012:function:my-function.

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

        Returns:
        The name or ARN of the Lambda function.

        Name formats

        • Function namemy-function.

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

        • Partial ARN123456789012:function:my-function.

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

      • withFunctionName

        public InvokeAsyncRequest withFunctionName(String functionName)

        The name or ARN of the Lambda function.

        Name formats

        • Function namemy-function.

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

        • Partial ARN123456789012:function:my-function.

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

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

        Name formats

        • Function namemy-function.

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

        • Partial ARN123456789012:function:my-function.

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

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

        public void setInvokeArgs(InputStream invokeArgs)

        The JSON that you want to provide to your Lambda function as input.

        Parameters:
        invokeArgs - The JSON that you want to provide to your Lambda function as input.
      • getInvokeArgs

        public InputStream getInvokeArgs()

        The JSON that you want to provide to your Lambda function as input.

        Returns:
        The JSON that you want to provide to your Lambda function as input.
      • withInvokeArgs

        public InvokeAsyncRequest withInvokeArgs(InputStream invokeArgs)

        The JSON that you want to provide to your Lambda function as input.

        Parameters:
        invokeArgs - The JSON that you want to provide to your Lambda function as input.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInvokeArgs

        public void setInvokeArgs(String invokeArgs)

        The JSON that you want to provide to your Lambda function as input.

        Parameters:
        invokeArgs - The JSON that you want to provide to your Lambda function as input.
      • withInvokeArgs

        public InvokeAsyncRequest withInvokeArgs(String invokeArgs)

        The JSON that you want to provide to your Lambda function as input.

        Parameters:
        invokeArgs - The JSON that you want to provide to your Lambda function as input.
        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. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /