Interface CreateConnectionFunctionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFrontRequest.Builder,CopyableBuilder<CreateConnectionFunctionRequest.Builder,,CreateConnectionFunctionRequest> SdkBuilder<CreateConnectionFunctionRequest.Builder,,CreateConnectionFunctionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateConnectionFunctionRequest
@Mutable
@NotThreadSafe
public static interface CreateConnectionFunctionRequest.Builder
extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<CreateConnectionFunctionRequest.Builder,CreateConnectionFunctionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionFunctionCode(SdkBytes connectionFunctionCode) The code for the connection function.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.A name for the connection function.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Consumer<Tags.Builder> tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.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
-
name
A name for the connection function.
- Parameters:
name- A name for the connection function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionFunctionConfig
CreateConnectionFunctionRequest.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 CreateConnectionFunctionRequest.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 code for the connection function.
- Parameters:
connectionFunctionCode- The code for the connection function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTags.Builderavoiding the need to create one manually viaTags.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(Tags).- Parameters:
tags- a consumer that will call methods onTags.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateConnectionFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateConnectionFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-