public static interface UpdateFunctionRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<UpdateFunctionRequest.Builder,UpdateFunctionRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateFunctionRequest.Builder |
functionCode(SdkBytes functionCode)
The function code.
|
default UpdateFunctionRequest.Builder |
functionConfig(Consumer<FunctionConfig.Builder> functionConfig)
Configuration information about the function.
|
UpdateFunctionRequest.Builder |
functionConfig(FunctionConfig functionConfig)
Configuration information about the function.
|
UpdateFunctionRequest.Builder |
ifMatch(String ifMatch)
The current version (
ETag value) of the function that you are updating, which you can get using
DescribeFunction. |
UpdateFunctionRequest.Builder |
name(String name)
The name of the function that you are updating.
|
UpdateFunctionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateFunctionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateFunctionRequest.Builder name(String name)
The name of the function that you are updating.
name - The name of the function that you are updating.UpdateFunctionRequest.Builder ifMatch(String ifMatch)
The current version (ETag value) of the function that you are updating, which you can get using
DescribeFunction.
ifMatch - The current version (ETag value) of the function that you are updating, which you can get
using DescribeFunction.UpdateFunctionRequest.Builder functionConfig(FunctionConfig functionConfig)
Configuration information about the function.
functionConfig - Configuration information about the function.default UpdateFunctionRequest.Builder functionConfig(Consumer<FunctionConfig.Builder> functionConfig)
Configuration information about the function.
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)UpdateFunctionRequest.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.UpdateFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.