Interface PutFunctionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutFunctionRequest.Builder,,PutFunctionRequest> MediaTailorRequest.Builder,SdkBuilder<PutFunctionRequest.Builder,,PutFunctionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutFunctionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault PutFunctionRequest.BuildercustomOutputConfiguration(Consumer<CustomOutputConfiguration.Builder> customOutputConfiguration) The configuration for aCUSTOM_OUTPUTfunction.customOutputConfiguration(CustomOutputConfiguration customOutputConfiguration) The configuration for aCUSTOM_OUTPUTfunction.description(String description) A description of the function.functionId(String functionId) The identifier of the function.functionType(String functionType) The type of the function.functionType(FunctionType functionType) The type of the function.default PutFunctionRequest.BuilderhttpRequestConfiguration(Consumer<HttpRequestConfiguration.Builder> httpRequestConfiguration) The configuration for anHTTP_REQUESTfunction.httpRequestConfiguration(HttpRequestConfiguration httpRequestConfiguration) The configuration for anHTTP_REQUESTfunction.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default PutFunctionRequest.BuildersequentialExecutorConfiguration(Consumer<SequentialExecutorConfiguration.Builder> sequentialExecutorConfiguration) The configuration for aSEQUENTIAL_EXECUTORfunction.sequentialExecutorConfiguration(SequentialExecutorConfiguration sequentialExecutorConfiguration) The configuration for aSEQUENTIAL_EXECUTORfunction.The tags to assign to 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.mediatailor.model.MediaTailorRequest.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
-
functionId
The identifier of the function. The identifier must be unique within your account.
- Parameters:
functionId- The identifier of the function. The identifier must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionType
The type of the function. The function type determines what the function can do at runtime. Valid values:
CUSTOM_OUTPUTevaluates expressions and produces output bindings with no external calls.HTTP_REQUESTmakes an HTTP call to an external service and evaluates output expressions that can reference the response.SEQUENTIAL_EXECUTORruns a sequence of child functions in order, passing data between steps through temporary data. For more information, see Function types and composition in the MediaTailor User Guide.- Parameters:
functionType- The type of the function. The function type determines what the function can do at runtime. Valid values:CUSTOM_OUTPUTevaluates expressions and produces output bindings with no external calls.HTTP_REQUESTmakes an HTTP call to an external service and evaluates output expressions that can reference the response.SEQUENTIAL_EXECUTORruns a sequence of child functions in order, passing data between steps through temporary data. For more information, see Function types and composition in the MediaTailor User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
functionType
The type of the function. The function type determines what the function can do at runtime. Valid values:
CUSTOM_OUTPUTevaluates expressions and produces output bindings with no external calls.HTTP_REQUESTmakes an HTTP call to an external service and evaluates output expressions that can reference the response.SEQUENTIAL_EXECUTORruns a sequence of child functions in order, passing data between steps through temporary data. For more information, see Function types and composition in the MediaTailor User Guide.- Parameters:
functionType- The type of the function. The function type determines what the function can do at runtime. Valid values:CUSTOM_OUTPUTevaluates expressions and produces output bindings with no external calls.HTTP_REQUESTmakes an HTTP call to an external service and evaluates output expressions that can reference the response.SEQUENTIAL_EXECUTORruns a sequence of child functions in order, passing data between steps through temporary data. For more information, see Function types and composition in the MediaTailor User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the function.
- Parameters:
description- A description of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpRequestConfiguration
PutFunctionRequest.Builder httpRequestConfiguration(HttpRequestConfiguration httpRequestConfiguration) The configuration for an
HTTP_REQUESTfunction. Specifies the HTTP method, URL, headers, body, timeout, and output expressions. Required whenFunctionTypeisHTTP_REQUEST.- Parameters:
httpRequestConfiguration- The configuration for anHTTP_REQUESTfunction. Specifies the HTTP method, URL, headers, body, timeout, and output expressions. Required whenFunctionTypeisHTTP_REQUEST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpRequestConfiguration
default PutFunctionRequest.Builder httpRequestConfiguration(Consumer<HttpRequestConfiguration.Builder> httpRequestConfiguration) The configuration for an
This is a convenience method that creates an instance of theHTTP_REQUESTfunction. Specifies the HTTP method, URL, headers, body, timeout, and output expressions. Required whenFunctionTypeisHTTP_REQUEST.HttpRequestConfiguration.Builderavoiding the need to create one manually viaHttpRequestConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohttpRequestConfiguration(HttpRequestConfiguration).- Parameters:
httpRequestConfiguration- a consumer that will call methods onHttpRequestConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customOutputConfiguration
PutFunctionRequest.Builder customOutputConfiguration(CustomOutputConfiguration customOutputConfiguration) The configuration for a
CUSTOM_OUTPUTfunction. Specifies the runtime and output expressions. Required whenFunctionTypeisCUSTOM_OUTPUT.- Parameters:
customOutputConfiguration- The configuration for aCUSTOM_OUTPUTfunction. Specifies the runtime and output expressions. Required whenFunctionTypeisCUSTOM_OUTPUT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customOutputConfiguration
default PutFunctionRequest.Builder customOutputConfiguration(Consumer<CustomOutputConfiguration.Builder> customOutputConfiguration) The configuration for a
This is a convenience method that creates an instance of theCUSTOM_OUTPUTfunction. Specifies the runtime and output expressions. Required whenFunctionTypeisCUSTOM_OUTPUT.CustomOutputConfiguration.Builderavoiding the need to create one manually viaCustomOutputConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomOutputConfiguration(CustomOutputConfiguration).- Parameters:
customOutputConfiguration- a consumer that will call methods onCustomOutputConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sequentialExecutorConfiguration
PutFunctionRequest.Builder sequentialExecutorConfiguration(SequentialExecutorConfiguration sequentialExecutorConfiguration) The configuration for a
SEQUENTIAL_EXECUTORfunction. Specifies the ordered list of child functions to execute, an optional output block, and a timeout. Required whenFunctionTypeisSEQUENTIAL_EXECUTOR.- Parameters:
sequentialExecutorConfiguration- The configuration for aSEQUENTIAL_EXECUTORfunction. Specifies the ordered list of child functions to execute, an optional output block, and a timeout. Required whenFunctionTypeisSEQUENTIAL_EXECUTOR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequentialExecutorConfiguration
default PutFunctionRequest.Builder sequentialExecutorConfiguration(Consumer<SequentialExecutorConfiguration.Builder> sequentialExecutorConfiguration) The configuration for a
This is a convenience method that creates an instance of theSEQUENTIAL_EXECUTORfunction. Specifies the ordered list of child functions to execute, an optional output block, and a timeout. Required whenFunctionTypeisSEQUENTIAL_EXECUTOR.SequentialExecutorConfiguration.Builderavoiding the need to create one manually viaSequentialExecutorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosequentialExecutorConfiguration(SequentialExecutorConfiguration).- Parameters:
sequentialExecutorConfiguration- a consumer that will call methods onSequentialExecutorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to assign to the function. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
- Parameters:
tags- The tags to assign to the function. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutFunctionRequest.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
PutFunctionRequest.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.
-