Interface UpdateFunctionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFunctionRequest.Builder,,UpdateFunctionRequest> ElementalInferenceRequest.Builder,SdkBuilder<UpdateFunctionRequest.Builder,,UpdateFunctionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateFunctionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A new description for the function.eventBridgeDelivery(String eventBridgeDelivery) Specifies whether Elemental Inference also sends this function's marked results to Amazon EventBridge, as described for CreateFunction.eventBridgeDelivery(EventBridgeDeliveryMode eventBridgeDelivery) Specifies whether Elemental Inference also sends this function's marked results to Amazon EventBridge, as described for CreateFunction.The ID of the function.A new name for the function.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requestExpression(String requestExpression) A new request expression for the function.responseExpression(String responseExpression) A new response expression for the function.default UpdateFunctionRequest.Buildertarget(Consumer<FunctionTarget.Builder> target) A new target for the function.target(FunctionTarget target) A new target for the function.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elementalinference.model.ElementalInferenceRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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 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
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
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
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-