Class CfnConnectorDefinitionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorDefinitionMixinProps>
- Enclosing interface:
CfnConnectorDefinitionMixinProps
CfnConnectorDefinitionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.initialVersion(IResolvable initialVersion) Sets the value ofCfnConnectorDefinitionMixinProps.getInitialVersion()Sets the value ofCfnConnectorDefinitionMixinProps.getInitialVersion()Sets the value ofCfnConnectorDefinitionMixinProps.getName()Sets the value ofCfnConnectorDefinitionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
initialVersion
@Stability(Stable) public CfnConnectorDefinitionMixinProps.Builder initialVersion(IResolvable initialVersion) Sets the value ofCfnConnectorDefinitionMixinProps.getInitialVersion()- Parameters:
initialVersion- The connector definition version to include when the connector definition is created. A connector definition version contains a list ofconnectorproperty types.To associate a connector definition version after the connector definition is created, create an
AWS::Greengrass::ConnectorDefinitionVersionresource and specify the ID of this connector definition.- Returns:
this
-
initialVersion
@Stability(Stable) public CfnConnectorDefinitionMixinProps.Builder initialVersion(CfnConnectorDefinitionPropsMixin.ConnectorDefinitionVersionProperty initialVersion) Sets the value ofCfnConnectorDefinitionMixinProps.getInitialVersion()- Parameters:
initialVersion- The connector definition version to include when the connector definition is created. A connector definition version contains a list ofconnectorproperty types.To associate a connector definition version after the connector definition is created, create an
AWS::Greengrass::ConnectorDefinitionVersionresource and specify the ID of this connector definition.- Returns:
this
-
name
Sets the value ofCfnConnectorDefinitionMixinProps.getName()- Parameters:
name- The name of the connector definition.- Returns:
this
-
tags
Sets the value ofCfnConnectorDefinitionMixinProps.getTags()- Parameters:
tags- Application-specific metadata to attach to the connector 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<CfnConnectorDefinitionMixinProps>- Returns:
- a new instance of
CfnConnectorDefinitionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-