Class CfnGroup.GroupVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnGroup.GroupVersionProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnGroup.GroupVersionProperty>
- Enclosing interface:
- CfnGroup.GroupVersionProperty
@Stability(Stable)
public static final class CfnGroup.GroupVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGroup.GroupVersionProperty>
A builder for 
CfnGroup.GroupVersionProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.connectorDefinitionVersionArn(String connectorDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getConnectorDefinitionVersionArn()coreDefinitionVersionArn(String coreDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getCoreDefinitionVersionArn()deviceDefinitionVersionArn(String deviceDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getDeviceDefinitionVersionArn()functionDefinitionVersionArn(String functionDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getFunctionDefinitionVersionArn()loggerDefinitionVersionArn(String loggerDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getLoggerDefinitionVersionArn()resourceDefinitionVersionArn(String resourceDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getResourceDefinitionVersionArn()subscriptionDefinitionVersionArn(String subscriptionDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getSubscriptionDefinitionVersionArn()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
connectorDefinitionVersionArn@Stability(Stable) public CfnGroup.GroupVersionProperty.Builder connectorDefinitionVersionArn(String connectorDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getConnectorDefinitionVersionArn()- Parameters:
- connectorDefinitionVersionArn- The Amazon Resource Name (ARN) of the connector definition version that contains the connectors you want to deploy with the group version.
- Returns:
- this
 
- 
coreDefinitionVersionArn@Stability(Stable) public CfnGroup.GroupVersionProperty.Builder coreDefinitionVersionArn(String coreDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getCoreDefinitionVersionArn()- Parameters:
- coreDefinitionVersionArn- The ARN of the core definition version that contains the core you want to deploy with the group version. Currently, the core definition version can contain only one core.
- Returns:
- this
 
- 
deviceDefinitionVersionArn@Stability(Stable) public CfnGroup.GroupVersionProperty.Builder deviceDefinitionVersionArn(String deviceDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getDeviceDefinitionVersionArn()- Parameters:
- deviceDefinitionVersionArn- The ARN of the device definition version that contains the devices you want to deploy with the group version.
- Returns:
- this
 
- 
functionDefinitionVersionArn@Stability(Stable) public CfnGroup.GroupVersionProperty.Builder functionDefinitionVersionArn(String functionDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getFunctionDefinitionVersionArn()- Parameters:
- functionDefinitionVersionArn- The ARN of the function definition version that contains the functions you want to deploy with the group version.
- Returns:
- this
 
- 
loggerDefinitionVersionArn@Stability(Stable) public CfnGroup.GroupVersionProperty.Builder loggerDefinitionVersionArn(String loggerDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getLoggerDefinitionVersionArn()- Parameters:
- loggerDefinitionVersionArn- The ARN of the logger definition version that contains the loggers you want to deploy with the group version.
- Returns:
- this
 
- 
resourceDefinitionVersionArn@Stability(Stable) public CfnGroup.GroupVersionProperty.Builder resourceDefinitionVersionArn(String resourceDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getResourceDefinitionVersionArn()- Parameters:
- resourceDefinitionVersionArn- The ARN of the resource definition version that contains the resources you want to deploy with the group version.
- Returns:
- this
 
- 
subscriptionDefinitionVersionArn@Stability(Stable) public CfnGroup.GroupVersionProperty.Builder subscriptionDefinitionVersionArn(String subscriptionDefinitionVersionArn) Sets the value ofCfnGroup.GroupVersionProperty.getSubscriptionDefinitionVersionArn()- Parameters:
- subscriptionDefinitionVersionArn- The ARN of the subscription definition version that contains the subscriptions you want to deploy with the group version.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnGroup.GroupVersionProperty>
- Returns:
- a new instance of CfnGroup.GroupVersionProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-