Interface UpdateFunctionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<UpdateFunctionRequest.Builder,UpdateFunctionRequest>
,SdkBuilder<UpdateFunctionRequest.Builder,UpdateFunctionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateFunctionRequest
public static interface UpdateFunctionRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<UpdateFunctionRequest.Builder,UpdateFunctionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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 usingDescribeFunction
.UpdateFunctionRequest.Builder
name(String name)
The name of the function that you are updating.UpdateFunctionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateFunctionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
UpdateFunctionRequest.Builder name(String name)
The name of the function that you are updating.
- Parameters:
name
- The name of the function that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifMatch
UpdateFunctionRequest.Builder ifMatch(String ifMatch)
The current version (
ETag
value) of the function that you are updating, which you can get usingDescribeFunction
.- Parameters:
ifMatch
- The current version (ETag
value) of the function that you are updating, which you can get usingDescribeFunction
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionConfig
UpdateFunctionRequest.Builder functionConfig(FunctionConfig functionConfig)
Configuration information about the function.
- Parameters:
functionConfig
- Configuration information about the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionConfig
default UpdateFunctionRequest.Builder functionConfig(Consumer<FunctionConfig.Builder> functionConfig)
Configuration information about the function.
This is a convenience method that creates an instance of theFunctionConfig.Builder
avoiding the need to create one manually viaFunctionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofunctionConfig(FunctionConfig)
.- Parameters:
functionConfig
- a consumer that will call methods onFunctionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
functionConfig(FunctionConfig)
-
functionCode
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-