Interface FunctionMetadata.Builder

    • Method Detail

      • functionARN

        FunctionMetadata.Builder functionARN​(String functionARN)

        The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

        Parameters:
        functionARN - The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stage

        FunctionMetadata.Builder stage​(String stage)

        The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        Parameters:
        stage - The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FunctionStage, FunctionStage
      • stage

        FunctionMetadata.Builder stage​(FunctionStage stage)

        The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        Parameters:
        stage - The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FunctionStage, FunctionStage
      • createdTime

        FunctionMetadata.Builder createdTime​(Instant createdTime)

        The date and time when the function was created.

        Parameters:
        createdTime - The date and time when the function was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedTime

        FunctionMetadata.Builder lastModifiedTime​(Instant lastModifiedTime)

        The date and time when the function was most recently updated.

        Parameters:
        lastModifiedTime - The date and time when the function was most recently updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.