Interface UpdateFunctionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateFunctionResponse.Builder,,UpdateFunctionResponse> ElementalInferenceResponse.Builder,SdkBuilder<UpdateFunctionResponse.Builder,,UpdateFunctionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateFunctionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the function.contextTypes(Collection<ContextType> contextTypes) The kinds of media context that this function uses.contextTypes(ContextType... contextTypes) The kinds of media context that this function uses.contextTypesWithStrings(String... contextTypes) The kinds of media context that this function uses.contextTypesWithStrings(Collection<String> contextTypes) The kinds of media context that this function uses.description(String description) The description of the function.eventBridgeDelivery(String eventBridgeDelivery) Indicates whether Elemental Inference also sends this function's results to Amazon EventBridge.eventBridgeDelivery(EventBridgeDeliveryMode eventBridgeDelivery) Indicates whether Elemental Inference also sends this function's results to Amazon EventBridge.The ID of the function.The name of the function.references(String... references) The IDs of the feeds that have a function output, enabled or disabled, that references this function.references(Collection<String> references) The IDs of the feeds that have a function output, enabled or disabled, that references this function.requestExpression(String requestExpression) The JSONata expression that builds the request.responseExpression(String responseExpression) The JSONata expression that selects what to store.The status of the function.status(FunctionStatus status) The status of the function.The tags associated with the function.default UpdateFunctionResponse.Buildertarget(Consumer<FunctionTarget.Builder> target) The destination for the request that the function builds.target(FunctionTarget target) The destination for the request that the function builds.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elementalinference.model.ElementalInferenceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
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 theFunctionTarget.Builderavoiding the need to create one manually viaFunctionTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(FunctionTarget).- Parameters:
target- a consumer that will call methods onFunctionTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestExpression
The JSONata expression that builds the request. Elemental Inference evaluates it against the media object of the feed, which holds the media and metadata that the function asked for.
- Parameters:
requestExpression- The JSONata expression that builds the request. Elemental Inference evaluates it against the media object of the feed, which holds the media and metadata that the function asked for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseExpression
The JSONata expression that selects what to store. Elemental Inference evaluates it against the result as its root: the model response for a Bedrock target, or the output of the request expression for a passthrough target. If a function has no response expression, Elemental Inference stores the entire result.
- Parameters:
responseExpression- The JSONata expression that selects what to store. Elemental Inference evaluates it against the result as its root: the model response for a Bedrock target, or the output of the request expression for a passthrough target. If a function has no response expression, Elemental Inference stores the entire result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
eventBridgeDelivery
Indicates whether Elemental Inference also sends this function's results to Amazon EventBridge. With ENABLED, each result that is a JSON object with a top-level
eventBridgefield set totrueis also sent as a Function Metadata Generated event to the default event bus in your account.- Parameters:
eventBridgeDelivery- Indicates whether Elemental Inference also sends this function's results to Amazon EventBridge. With ENABLED, each result that is a JSON object with a top-leveleventBridgefield set totrueis also sent as a Function Metadata Generated event to the default event bus in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventBridgeDelivery
Indicates whether Elemental Inference also sends this function's results to Amazon EventBridge. With ENABLED, each result that is a JSON object with a top-level
eventBridgefield set totrueis also sent as a Function Metadata Generated event to the default event bus in your account.- Parameters:
eventBridgeDelivery- Indicates whether Elemental Inference also sends this function's results to Amazon EventBridge. With ENABLED, each result that is a JSON object with a top-leveleventBridgefield set totrueis also sent as a Function Metadata Generated event to the default event bus in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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:
-
references
The IDs of the feeds that have a function output, enabled or disabled, that references this function. While this list isn't empty, the function can't be deleted, and its name and target can't be changed.
- Parameters:
references- The IDs of the feeds that have a function output, enabled or disabled, that references this function. While this list isn't empty, the function can't be deleted, and its name and target can't be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
references
The IDs of the feeds that have a function output, enabled or disabled, that references this function. While this list isn't empty, the function can't be deleted, and its name and target can't be changed.
- Parameters:
references- The IDs of the feeds that have a function output, enabled or disabled, that references this function. While this list isn't empty, the function can't be deleted, and its name and target can't be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextTypesWithStrings
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
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
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
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.
-
tags
The tags associated with the function.
- Parameters:
tags- The tags associated with the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-