Interface UpdateConnectionFunctionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFrontRequest.Builder,CopyableBuilder<UpdateConnectionFunctionRequest.Builder,,UpdateConnectionFunctionRequest> SdkBuilder<UpdateConnectionFunctionRequest.Builder,,UpdateConnectionFunctionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateConnectionFunctionRequest
@Mutable
@NotThreadSafe
public static interface UpdateConnectionFunctionRequest.Builder
extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<UpdateConnectionFunctionRequest.Builder,UpdateConnectionFunctionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionFunctionCode(SdkBytes connectionFunctionCode) The connection function code.connectionFunctionConfig(Consumer<FunctionConfig.Builder> connectionFunctionConfig) Sets the value of the ConnectionFunctionConfig property for this object.connectionFunctionConfig(FunctionConfig connectionFunctionConfig) Sets the value of the ConnectionFunctionConfig property for this object.The connection function ID.The current version (ETagvalue) of the connection function you are updating.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
buildMethods 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
-
id
The connection function ID.
- Parameters:
id- The connection function ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifMatch
The current version (
ETagvalue) of the connection function you are updating.- Parameters:
ifMatch- The current version (ETagvalue) of the connection function you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionFunctionConfig
UpdateConnectionFunctionRequest.Builder connectionFunctionConfig(FunctionConfig connectionFunctionConfig) Sets the value of the ConnectionFunctionConfig property for this object.- Parameters:
connectionFunctionConfig- The new value for the ConnectionFunctionConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionFunctionConfig
default UpdateConnectionFunctionRequest.Builder connectionFunctionConfig(Consumer<FunctionConfig.Builder> connectionFunctionConfig) Sets the value of the ConnectionFunctionConfig property for this object. This is a convenience method that creates an instance of theFunctionConfig.Builderavoiding the need to create one manually viaFunctionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectionFunctionConfig(FunctionConfig).- Parameters:
connectionFunctionConfig- 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:
-
connectionFunctionCode
The connection function code.
- Parameters:
connectionFunctionCode- The connection function code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateConnectionFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateConnectionFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-