Class CfnCoreDefinitionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreDefinitionMixinProps>
- Enclosing interface:
CfnCoreDefinitionMixinProps
CfnCoreDefinitionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCoreDefinitionMixinProps.getInitialVersion()initialVersion(IResolvable initialVersion) Sets the value ofCfnCoreDefinitionMixinProps.getInitialVersion()Sets the value ofCfnCoreDefinitionMixinProps.getName()Sets the value ofCfnCoreDefinitionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
initialVersion
@Stability(Stable) public CfnCoreDefinitionMixinProps.Builder initialVersion(IResolvable initialVersion) Sets the value ofCfnCoreDefinitionMixinProps.getInitialVersion()- Parameters:
initialVersion- The core definition version to include when the core definition is created. Currently, a core definition version can contain only onecore.To associate a core definition version after the core definition is created, create an
AWS::Greengrass::CoreDefinitionVersionresource and specify the ID of this core definition.- Returns:
this
-
initialVersion
@Stability(Stable) public CfnCoreDefinitionMixinProps.Builder initialVersion(CfnCoreDefinitionPropsMixin.CoreDefinitionVersionProperty initialVersion) Sets the value ofCfnCoreDefinitionMixinProps.getInitialVersion()- Parameters:
initialVersion- The core definition version to include when the core definition is created. Currently, a core definition version can contain only onecore.To associate a core definition version after the core definition is created, create an
AWS::Greengrass::CoreDefinitionVersionresource and specify the ID of this core definition.- Returns:
this
-
name
Sets the value ofCfnCoreDefinitionMixinProps.getName()- Parameters:
name- The name of the core definition.- Returns:
this
-
tags
Sets the value ofCfnCoreDefinitionMixinProps.getTags()- Parameters:
tags- Application-specific metadata to attach to the core 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<CfnCoreDefinitionMixinProps>- Returns:
- a new instance of
CfnCoreDefinitionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-