Interface CreateWebFunctionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWebFunctionRequest.Builder,,CreateWebFunctionRequest> LambdaWebRequest.Builder,SdkBuilder<CreateWebFunctionRequest.Builder,,CreateWebFunctionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWebFunctionRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateWebFunctionRequest.BuilderendpointConfig(Consumer<EndpointConfig.Builder> endpointConfig) The configuration for the initial endpoint of the web function.endpointConfig(EndpointConfig endpointConfig) The configuration for the initial endpoint of the web function.functionName(String functionName) The name of the web function.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateWebFunctionRequest.BuilderrevisionConfig(Consumer<RevisionConfig.Builder> revisionConfig) The configuration for the initial revision of the web function, including code and service settings.revisionConfig(RevisionConfig revisionConfig) The configuration for the initial revision of the web function, including code and service settings.A map of tag keys and values to apply to the web function.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambdaweb.model.LambdaWebRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
functionName
The name of the web function. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
- Parameters:
functionName- The name of the web function. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionConfig
The configuration for the initial revision of the web function, including code and service settings.
- Parameters:
revisionConfig- The configuration for the initial revision of the web function, including code and service settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionConfig
default CreateWebFunctionRequest.Builder revisionConfig(Consumer<RevisionConfig.Builder> revisionConfig) The configuration for the initial revision of the web function, including code and service settings.
This is a convenience method that creates an instance of theRevisionConfig.Builderavoiding the need to create one manually viaRevisionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevisionConfig(RevisionConfig).- Parameters:
revisionConfig- a consumer that will call methods onRevisionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointConfig
The configuration for the initial endpoint of the web function.
- Parameters:
endpointConfig- The configuration for the initial endpoint of the web function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfig
default CreateWebFunctionRequest.Builder endpointConfig(Consumer<EndpointConfig.Builder> endpointConfig) The configuration for the initial endpoint of the web function.
This is a convenience method that creates an instance of theEndpointConfig.Builderavoiding the need to create one manually viaEndpointConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpointConfig(EndpointConfig).- Parameters:
endpointConfig- a consumer that will call methods onEndpointConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map of tag keys and values to apply to the web function.
- Parameters:
tags- A map of tag keys and values to apply to the web function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWebFunctionRequest.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
CreateWebFunctionRequest.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.
-