Class CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty>
- Enclosing interface:
CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty
@Stability(Stable)
public static final class CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.subscriptions
(List<? extends Object> subscriptions) subscriptions
(IResolvable subscriptions)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subscriptions
@Stability(Stable) public CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty.Builder subscriptions(IResolvable subscriptions) Sets the value ofCfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty.getSubscriptions()
- Parameters:
subscriptions
- The subscriptions in this version. This parameter is required.- Returns:
this
-
subscriptions
@Stability(Stable) public CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty.Builder subscriptions(List<? extends Object> subscriptions) Sets the value ofCfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty.getSubscriptions()
- Parameters:
subscriptions
- The subscriptions in this version. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty>
- Returns:
- a new instance of
CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-