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