Interface CreateFunctionDefinitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFunctionDefinitionRequest.Builder,,CreateFunctionDefinitionRequest> GreengrassRequest.Builder,SdkBuilder<CreateFunctionDefinitionRequest.Builder,,CreateFunctionDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateFunctionDefinitionRequest
public static interface CreateFunctionDefinitionRequest.Builder
extends GreengrassRequest.Builder, SdkPojo, CopyableBuilder<CreateFunctionDefinitionRequest.Builder,CreateFunctionDefinitionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionamznClientToken(String amznClientToken) A client token used to correlate requests and responses.initialVersion(Consumer<FunctionDefinitionVersion.Builder> initialVersion) Information about the initial version of the function definition.initialVersion(FunctionDefinitionVersion initialVersion) Information about the initial version of the function definition.The name of the function definition.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tag(s) to add to the new resource.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, 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.
-
initialVersion
Information about the initial version of the function definition.- Parameters:
initialVersion- Information about the initial version of the function definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialVersion
default CreateFunctionDefinitionRequest.Builder initialVersion(Consumer<FunctionDefinitionVersion.Builder> initialVersion) Information about the initial version of the function definition. This is a convenience method that creates an instance of theFunctionDefinitionVersion.Builderavoiding the need to create one manually viaFunctionDefinitionVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinitialVersion(FunctionDefinitionVersion).- Parameters:
initialVersion- a consumer that will call methods onFunctionDefinitionVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the function definition.- Parameters:
name- The name of the function definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tag(s) to add to the new resource.- Parameters:
tags- Tag(s) to add to the new resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFunctionDefinitionRequest.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
CreateFunctionDefinitionRequest.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.
-