Class CfnGroupVersionProps.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnGroupVersionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroupVersionProps>
- Enclosing interface:
CfnGroupVersionProps
@Stability(Stable)
public static final class CfnGroupVersionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGroupVersionProps>
A builder for
CfnGroupVersionProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectorDefinitionVersionArn
(String connectorDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.getConnectorDefinitionVersionArn()
coreDefinitionVersionArn
(String coreDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.getCoreDefinitionVersionArn()
deviceDefinitionVersionArn
(String deviceDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.getDeviceDefinitionVersionArn()
functionDefinitionVersionArn
(String functionDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.getFunctionDefinitionVersionArn()
Sets the value ofCfnGroupVersionProps.getGroupId()
loggerDefinitionVersionArn
(String loggerDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.getLoggerDefinitionVersionArn()
resourceDefinitionVersionArn
(String resourceDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.getResourceDefinitionVersionArn()
subscriptionDefinitionVersionArn
(String subscriptionDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.getSubscriptionDefinitionVersionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupId
Sets the value ofCfnGroupVersionProps.getGroupId()
- Parameters:
groupId
- The ID of the group associated with this version. This parameter is required. This value is a GUID.- Returns:
this
-
connectorDefinitionVersionArn
@Stability(Stable) public CfnGroupVersionProps.Builder connectorDefinitionVersionArn(String connectorDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.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 CfnGroupVersionProps.Builder coreDefinitionVersionArn(String coreDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.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 CfnGroupVersionProps.Builder deviceDefinitionVersionArn(String deviceDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.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 CfnGroupVersionProps.Builder functionDefinitionVersionArn(String functionDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.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 CfnGroupVersionProps.Builder loggerDefinitionVersionArn(String loggerDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.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 CfnGroupVersionProps.Builder resourceDefinitionVersionArn(String resourceDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.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 CfnGroupVersionProps.Builder subscriptionDefinitionVersionArn(String subscriptionDefinitionVersionArn) Sets the value ofCfnGroupVersionProps.getSubscriptionDefinitionVersionArn()
- Parameters:
subscriptionDefinitionVersionArn
- The ARN of the subscription definition version that contains the subscriptions you want to deploy with the group version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGroupVersionProps>
- Returns:
- a new instance of
CfnGroupVersionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-