public static interface CreateFunctionRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<CreateFunctionRequest.Builder,CreateFunctionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateFunctionRequest.Builder |
functionCode(SdkBytes functionCode)
The function code.
|
default CreateFunctionRequest.Builder |
functionConfig(Consumer<FunctionConfig.Builder> functionConfig)
Configuration information about the function, including an optional comment and the function’s runtime.
|
CreateFunctionRequest.Builder |
functionConfig(FunctionConfig functionConfig)
Configuration information about the function, including an optional comment and the function’s runtime.
|
CreateFunctionRequest.Builder |
name(String name)
A name to identify the function.
|
CreateFunctionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFunctionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFunctionRequest.Builder name(String name)
A name to identify the function.
name - A name to identify the function.CreateFunctionRequest.Builder functionConfig(FunctionConfig functionConfig)
Configuration information about the function, including an optional comment and the function’s runtime.
functionConfig - Configuration information about the function, including an optional comment and the function’s
runtime.default CreateFunctionRequest.Builder functionConfig(Consumer<FunctionConfig.Builder> functionConfig)
Configuration information about the function, including an optional comment and the function’s runtime.
This is a convenience that creates an instance of theFunctionConfig.Builder avoiding the need to
create one manually via FunctionConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to functionConfig(FunctionConfig).functionConfig - a consumer that will call methods on FunctionConfig.BuilderfunctionConfig(FunctionConfig)CreateFunctionRequest.Builder functionCode(SdkBytes functionCode)
The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.
functionCode - The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.CreateFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.