Class CfnConnectorDefinitionProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnConnectorDefinitionProps>
- Enclosing interface:
- CfnConnectorDefinitionProps
CfnConnectorDefinitionProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.initialVersion(IResolvable initialVersion) Sets the value ofCfnConnectorDefinitionProps.getInitialVersion()Sets the value ofCfnConnectorDefinitionProps.getInitialVersion()Sets the value ofCfnConnectorDefinitionProps.getName()Sets the value ofCfnConnectorDefinitionProps.getTags()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
nameSets the value ofCfnConnectorDefinitionProps.getName()- Parameters:
- name- The name of the connector definition. This parameter is required.
- Returns:
- this
 
- 
initialVersion@Stability(Stable) public CfnConnectorDefinitionProps.Builder initialVersion(CfnConnectorDefinition.ConnectorDefinitionVersionProperty initialVersion) Sets the value ofCfnConnectorDefinitionProps.getInitialVersion()- Parameters:
- initialVersion- The connector definition version to include when the connector definition is created. A connector definition version contains a list of- connectorproperty 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 CfnConnectorDefinitionProps.Builder initialVersion(IResolvable initialVersion) Sets the value ofCfnConnectorDefinitionProps.getInitialVersion()- Parameters:
- initialVersion- The connector definition version to include when the connector definition is created. A connector definition version contains a list of- connectorproperty 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
 
- 
tagsSets the value ofCfnConnectorDefinitionProps.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 most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnConnectorDefinitionProps>
- Returns:
- a new instance of CfnConnectorDefinitionProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-