Interface FunctionSummary.Builder

  • Method Details

    • arn

      The ARN of the function.

      Parameters:
      arn - The ARN of the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The ID of the function.

      Parameters:
      id - The ID of the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the function.

      Parameters:
      name - The name of the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      FunctionSummary.Builder description(String description)

      The description of the function.

      Parameters:
      description - The description of the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the function.

      Parameters:
      status - The status of the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the function.

      Parameters:
      status - The status of the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • target

      The destination for the request that the function builds.

      Parameters:
      target - The destination for the request that the function builds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      The destination for the request that the function builds.

      This is a convenience method that creates an instance of the FunctionTarget.Builder avoiding the need to create one manually via FunctionTarget.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to target(FunctionTarget).

      Parameters:
      target - a consumer that will call methods on FunctionTarget.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contextTypesWithStrings

      FunctionSummary.Builder contextTypesWithStrings(Collection<String> contextTypes)

      The kinds of media context that this function uses. Elemental Inference derives this field from the media paths that the request expression references; you can't set it. An empty list means that the expression references no media, so Elemental Inference supplies none at run time.

      Parameters:
      contextTypes - The kinds of media context that this function uses. Elemental Inference derives this field from the media paths that the request expression references; you can't set it. An empty list means that the expression references no media, so Elemental Inference supplies none at run time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contextTypesWithStrings

      FunctionSummary.Builder contextTypesWithStrings(String... contextTypes)

      The kinds of media context that this function uses. Elemental Inference derives this field from the media paths that the request expression references; you can't set it. An empty list means that the expression references no media, so Elemental Inference supplies none at run time.

      Parameters:
      contextTypes - The kinds of media context that this function uses. Elemental Inference derives this field from the media paths that the request expression references; you can't set it. An empty list means that the expression references no media, so Elemental Inference supplies none at run time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contextTypes

      FunctionSummary.Builder contextTypes(Collection<ContextType> contextTypes)

      The kinds of media context that this function uses. Elemental Inference derives this field from the media paths that the request expression references; you can't set it. An empty list means that the expression references no media, so Elemental Inference supplies none at run time.

      Parameters:
      contextTypes - The kinds of media context that this function uses. Elemental Inference derives this field from the media paths that the request expression references; you can't set it. An empty list means that the expression references no media, so Elemental Inference supplies none at run time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contextTypes

      FunctionSummary.Builder contextTypes(ContextType... contextTypes)

      The kinds of media context that this function uses. Elemental Inference derives this field from the media paths that the request expression references; you can't set it. An empty list means that the expression references no media, so Elemental Inference supplies none at run time.

      Parameters:
      contextTypes - The kinds of media context that this function uses. Elemental Inference derives this field from the media paths that the request expression references; you can't set it. An empty list means that the expression references no media, so Elemental Inference supplies none at run time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.