Interface AwsLambdaFunctionCode.Builder

    • Method Detail

      • s3Bucket

        AwsLambdaFunctionCode.Builder s3Bucket​(String s3Bucket)

        An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.

        Parameters:
        s3Bucket - An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3Key

        AwsLambdaFunctionCode.Builder s3Key​(String s3Key)

        The Amazon S3 key of the deployment package.

        Parameters:
        s3Key - The Amazon S3 key of the deployment package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3ObjectVersion

        AwsLambdaFunctionCode.Builder s3ObjectVersion​(String s3ObjectVersion)

        For versioned objects, the version of the deployment package object to use.

        Parameters:
        s3ObjectVersion - For versioned objects, the version of the deployment package object to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • zipFile

        AwsLambdaFunctionCode.Builder zipFile​(String zipFile)

        The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.

        Parameters:
        zipFile - The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
        Returns:
        Returns a reference to this object so that method calls can be chained together.