Interface UpdateFunctionRequest.Builder

  • Method Details

    • 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

      A new name for the function. You can't change the name while the function is referenced by a feed.

      Parameters:
      name - A new name for the function. You can't change the name while the function is referenced by a feed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      A new target for the function. You can't change the target while the function is referenced by a feed.

      Parameters:
      target - A new target for the function. You can't change the target while the function is referenced by a feed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      A new target for the function. You can't change the target while the function is referenced by a feed.

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

      UpdateFunctionRequest.Builder requestExpression(String requestExpression)

      A new request expression for the function. Elemental Inference derives contextTypes again from the new expression. While a feed references the function, the new expression must reference the same media context as the current one.

      Parameters:
      requestExpression - A new request expression for the function. Elemental Inference derives contextTypes again from the new expression. While a feed references the function, the new expression must reference the same media context as the current one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseExpression

      UpdateFunctionRequest.Builder responseExpression(String responseExpression)

      A new response expression for the function. To remove the response expression, specify an empty string. A function with a Bedrock target and eventBridgeDelivery set to ENABLED must keep a response expression.

      Parameters:
      responseExpression - A new response expression for the function. To remove the response expression, specify an empty string. A function with a Bedrock target and eventBridgeDelivery set to ENABLED must keep a response expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateFunctionRequest.Builder description(String description)

      A new description for the function.

      Parameters:
      description - A new description for the function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventBridgeDelivery

      UpdateFunctionRequest.Builder eventBridgeDelivery(String eventBridgeDelivery)

      Specifies whether Elemental Inference also sends this function's marked results to Amazon EventBridge, as described for CreateFunction. If you omit this parameter, the current value is kept. While a feed references the function, you can change this value to DISABLED, but not to ENABLED.

      Parameters:
      eventBridgeDelivery - Specifies whether Elemental Inference also sends this function's marked results to Amazon EventBridge, as described for CreateFunction. If you omit this parameter, the current value is kept. While a feed references the function, you can change this value to DISABLED, but not to ENABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventBridgeDelivery

      UpdateFunctionRequest.Builder eventBridgeDelivery(EventBridgeDeliveryMode eventBridgeDelivery)

      Specifies whether Elemental Inference also sends this function's marked results to Amazon EventBridge, as described for CreateFunction. If you omit this parameter, the current value is kept. While a feed references the function, you can change this value to DISABLED, but not to ENABLED.

      Parameters:
      eventBridgeDelivery - Specifies whether Elemental Inference also sends this function's marked results to Amazon EventBridge, as described for CreateFunction. If you omit this parameter, the current value is kept. While a feed references the function, you can change this value to DISABLED, but not to ENABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.