Class CfnFunctionDefinitionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionDefinitionMixinProps>
- Enclosing interface:
CfnFunctionDefinitionMixinProps
CfnFunctionDefinitionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunctionDefinitionMixinProps.getInitialVersion()initialVersion(IResolvable initialVersion) Sets the value ofCfnFunctionDefinitionMixinProps.getInitialVersion()Sets the value ofCfnFunctionDefinitionMixinProps.getName()Sets the value ofCfnFunctionDefinitionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
initialVersion
@Stability(Stable) public CfnFunctionDefinitionMixinProps.Builder initialVersion(IResolvable initialVersion) Sets the value ofCfnFunctionDefinitionMixinProps.getInitialVersion()- Parameters:
initialVersion- The function definition version to include when the function definition is created. A function definition version contains a list offunctionproperty types.To associate a function definition version after the function definition is created, create an
AWS::Greengrass::FunctionDefinitionVersionresource and specify the ID of this function definition.- Returns:
this
-
initialVersion
@Stability(Stable) public CfnFunctionDefinitionMixinProps.Builder initialVersion(CfnFunctionDefinitionPropsMixin.FunctionDefinitionVersionProperty initialVersion) Sets the value ofCfnFunctionDefinitionMixinProps.getInitialVersion()- Parameters:
initialVersion- The function definition version to include when the function definition is created. A function definition version contains a list offunctionproperty types.To associate a function definition version after the function definition is created, create an
AWS::Greengrass::FunctionDefinitionVersionresource and specify the ID of this function definition.- Returns:
this
-
name
Sets the value ofCfnFunctionDefinitionMixinProps.getName()- Parameters:
name- The name of the function definition.- Returns:
this
-
tags
Sets the value ofCfnFunctionDefinitionMixinProps.getTags()- Parameters:
tags- Application-specific metadata to attach to the function definition. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .This
Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionDefinitionMixinProps>- Returns:
- a new instance of
CfnFunctionDefinitionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-