Interface FunctionCode.Builder

    • Method Detail

      • zipFile

        FunctionCode.Builder zipFile​(SdkBytes zipFile)

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

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

        FunctionCode.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

        FunctionCode.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

        FunctionCode.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.
      • imageUri

        FunctionCode.Builder imageUri​(String imageUri)

        URI of a container image in the Amazon ECR registry.

        Parameters:
        imageUri - URI of a container image in the Amazon ECR registry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.