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
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
amznClientToken
CreateFunctionDefinitionRequest.Builder amznClientToken(String 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
CreateFunctionDefinitionRequest.Builder initialVersion(FunctionDefinitionVersion 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:
initialVersion(FunctionDefinitionVersion)
-
name
CreateFunctionDefinitionRequest.Builder name(String 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
CreateFunctionDefinitionRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFunctionDefinitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-