Interface CreateWebFunctionRevisionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWebFunctionRevisionRequest.Builder,,CreateWebFunctionRevisionRequest> LambdaWebRequest.Builder,SdkBuilder<CreateWebFunctionRevisionRequest.Builder,,CreateWebFunctionRevisionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWebFunctionRevisionRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuildConfig(Consumer<BuildConfig.Builder> buildConfig) The build configuration for the revision, including code location and runtime settings.buildConfig(BuildConfig buildConfig) The build configuration for the revision, including code location and runtime settings.description(String description) A description of the revision.functionName(String functionName) The name of the web function.The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceConfig(Consumer<ServiceConfig.Builder> serviceConfig) The service configuration for the revision, including execution role, timeout, and concurrency settings.serviceConfig(ServiceConfig serviceConfig) The service configuration for the revision, including execution role, timeout, and concurrency settings.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. You can specify the function name or the function ARN. 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. You can specify the function name or the function ARN. 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.
-
description
A description of the revision.
- Parameters:
description- A description of the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildConfig
The build configuration for the revision, including code location and runtime settings.
- Parameters:
buildConfig- The build configuration for the revision, including code location and runtime settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildConfig
default CreateWebFunctionRevisionRequest.Builder buildConfig(Consumer<BuildConfig.Builder> buildConfig) The build configuration for the revision, including code location and runtime settings.
This is a convenience method that creates an instance of theBuildConfig.Builderavoiding the need to create one manually viaBuildConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuildConfig(BuildConfig).- Parameters:
buildConfig- a consumer that will call methods onBuildConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceConfig
The service configuration for the revision, including execution role, timeout, and concurrency settings.
- Parameters:
serviceConfig- The service configuration for the revision, including execution role, timeout, and concurrency settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceConfig
default CreateWebFunctionRevisionRequest.Builder serviceConfig(Consumer<ServiceConfig.Builder> serviceConfig) The service configuration for the revision, including execution role, timeout, and concurrency settings.
This is a convenience method that creates an instance of theServiceConfig.Builderavoiding the need to create one manually viaServiceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceConfig(ServiceConfig).- Parameters:
serviceConfig- a consumer that will call methods onServiceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateWebFunctionRevisionRequest.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
CreateWebFunctionRevisionRequest.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.
-