Interface Function.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Function.Builder,,Function> SdkBuilder<Function.Builder,,Function> SdkPojo
- Enclosing class:
Function
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the function.default Function.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 Function.BuilderhttpRequestConfiguration(Consumer<HttpRequestConfiguration.Builder> httpRequestConfiguration) The configuration for anHTTP_REQUESTfunction.httpRequestConfiguration(HttpRequestConfiguration httpRequestConfiguration) The configuration for anHTTP_REQUESTfunction.default Function.BuildersequentialExecutorConfiguration(Consumer<SequentialExecutorConfiguration.Builder> sequentialExecutorConfiguration) The configuration for aSEQUENTIAL_EXECUTORfunction.sequentialExecutorConfiguration(SequentialExecutorConfiguration sequentialExecutorConfiguration) The configuration for aSEQUENTIAL_EXECUTORfunction.The tags assigned to the function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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.
- Parameters:
functionId- The identifier of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionType
The type of the function.
- Parameters:
functionType- The type of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
functionType
The type of the function.
- Parameters:
functionType- The type of the function.- 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
The configuration for an
HTTP_REQUESTfunction.- Parameters:
httpRequestConfiguration- The configuration for anHTTP_REQUESTfunction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpRequestConfiguration
default Function.Builder httpRequestConfiguration(Consumer<HttpRequestConfiguration.Builder> httpRequestConfiguration) The configuration for an
This is a convenience method that creates an instance of theHTTP_REQUESTfunction.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
The configuration for a
CUSTOM_OUTPUTfunction.- Parameters:
customOutputConfiguration- The configuration for aCUSTOM_OUTPUTfunction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customOutputConfiguration
default Function.Builder customOutputConfiguration(Consumer<CustomOutputConfiguration.Builder> customOutputConfiguration) The configuration for a
This is a convenience method that creates an instance of theCUSTOM_OUTPUTfunction.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
Function.Builder sequentialExecutorConfiguration(SequentialExecutorConfiguration sequentialExecutorConfiguration) The configuration for a
SEQUENTIAL_EXECUTORfunction.- Parameters:
sequentialExecutorConfiguration- The configuration for aSEQUENTIAL_EXECUTORfunction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequentialExecutorConfiguration
default Function.Builder sequentialExecutorConfiguration(Consumer<SequentialExecutorConfiguration.Builder> sequentialExecutorConfiguration) The configuration for a
This is a convenience method that creates an instance of theSEQUENTIAL_EXECUTORfunction.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 assigned 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 assigned 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.
-
arn
The Amazon Resource Name (ARN) of the function.
- Parameters:
arn- The Amazon Resource Name (ARN) of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-