Interface CreateFunctionDefinitionVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFunctionDefinitionVersionRequest.Builder,,CreateFunctionDefinitionVersionRequest> GreengrassRequest.Builder,SdkBuilder<CreateFunctionDefinitionVersionRequest.Builder,,CreateFunctionDefinitionVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateFunctionDefinitionVersionRequest
@Mutable
@NotThreadSafe
public static interface CreateFunctionDefinitionVersionRequest.Builder
extends GreengrassRequest.Builder, SdkPojo, CopyableBuilder<CreateFunctionDefinitionVersionRequest.Builder,CreateFunctionDefinitionVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionamznClientToken(String amznClientToken) A client token used to correlate requests and responses.defaultConfig(Consumer<FunctionDefaultConfig.Builder> defaultConfig) The default configuration that applies to all Lambda functions in this function definition version.defaultConfig(FunctionDefaultConfig defaultConfig) The default configuration that applies to all Lambda functions in this function definition version.functionDefinitionId(String functionDefinitionId) The ID of the Lambda function definition.functions(Collection<Function> functions) A list of Lambda functions in this function definition version.functions(Consumer<Function.Builder>... functions) A list of Lambda functions in this function definition version.A list of Lambda functions in this function definition version.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.greengrass.model.GreengrassRequest.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
-
amznClientToken
A client token used to correlate requests and responses.- Parameters:
amznClientToken- A client token used to correlate requests and responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultConfig
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.- Parameters:
defaultConfig- The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultConfig
default CreateFunctionDefinitionVersionRequest.Builder defaultConfig(Consumer<FunctionDefaultConfig.Builder> defaultConfig) The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings. This is a convenience method that creates an instance of theFunctionDefaultConfig.Builderavoiding the need to create one manually viaFunctionDefaultConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultConfig(FunctionDefaultConfig).- Parameters:
defaultConfig- a consumer that will call methods onFunctionDefaultConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
functionDefinitionId
The ID of the Lambda function definition.- Parameters:
functionDefinitionId- The ID of the Lambda function definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
A list of Lambda functions in this function definition version.- Parameters:
functions- A list of Lambda functions in this function definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
A list of Lambda functions in this function definition version.- Parameters:
functions- A list of Lambda functions in this function definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
A list of Lambda functions in this function definition version. This is a convenience method that creates an instance of theFunction.Builderavoiding the need to create one manually viaFunction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofunctions(List<Function>).- Parameters:
functions- a consumer that will call methods onFunction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateFunctionDefinitionVersionRequest.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
CreateFunctionDefinitionVersionRequest.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.
-