public static interface CreateFunctionDefinitionRequest.Builder extends GreengrassRequest.Builder, CopyableBuilder<CreateFunctionDefinitionRequest.Builder,CreateFunctionDefinitionRequest>
Modifier and Type | Method and Description |
---|---|
CreateFunctionDefinitionRequest.Builder |
amznClientToken(String amznClientToken)
The client token used to request idempotent operations.
|
default CreateFunctionDefinitionRequest.Builder |
initialVersion(Consumer<FunctionDefinitionVersion.Builder> initialVersion)
Information on the initial version This is a convenience that creates an instance of the
FunctionDefinitionVersion.Builder avoiding the need to create one manually via
FunctionDefinitionVersion.builder() . |
CreateFunctionDefinitionRequest.Builder |
initialVersion(FunctionDefinitionVersion initialVersion)
Information on the initial version
|
CreateFunctionDefinitionRequest.Builder |
name(String name)
name of the function definition
|
CreateFunctionDefinitionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateFunctionDefinitionRequest.Builder amznClientToken(String amznClientToken)
amznClientToken
- The client token used to request idempotent operations.CreateFunctionDefinitionRequest.Builder initialVersion(FunctionDefinitionVersion initialVersion)
initialVersion
- Information on the initial versiondefault CreateFunctionDefinitionRequest.Builder initialVersion(Consumer<FunctionDefinitionVersion.Builder> initialVersion)
FunctionDefinitionVersion.Builder
avoiding the need to create one manually via
FunctionDefinitionVersion.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to initialVersion(FunctionDefinitionVersion)
.initialVersion
- a consumer that will call methods on FunctionDefinitionVersion.Builder
initialVersion(FunctionDefinitionVersion)
CreateFunctionDefinitionRequest.Builder name(String name)
name
- name of the function definitionCreateFunctionDefinitionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.