Interface FunctionMetadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FunctionMetadata.Builder,FunctionMetadata>, SdkBuilder<FunctionMetadata.Builder,FunctionMetadata>, SdkPojo
Enclosing class:
FunctionMetadata

public static interface FunctionMetadata.Builder extends SdkPojo, CopyableBuilder<FunctionMetadata.Builder,FunctionMetadata>
  • Method Details

    • 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

      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:
    • 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:
    • 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.