Class CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrassv2.CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty>
- Enclosing interface:
CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty
@Stability(Stable)
public static final class CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.componentVersion(String componentVersion) configurationUpdate(CfnDeploymentPropsMixin.ComponentConfigurationUpdateProperty configurationUpdate) configurationUpdate(IResolvable configurationUpdate) runWith(IResolvable runWith)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
componentVersion
@Stability(Stable) public CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.Builder componentVersion(String componentVersion) Sets the value ofCfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.getComponentVersion()- Parameters:
componentVersion- The version of the component.- Returns:
this
-
configurationUpdate
@Stability(Stable) public CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.Builder configurationUpdate(IResolvable configurationUpdate) Sets the value ofCfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.getConfigurationUpdate()- Parameters:
configurationUpdate- The configuration updates to deploy for the component. You can define reset updates and merge updates. A reset updates the keys that you specify to the default configuration for the component. A merge updates the core device's component configuration with the keys and values that you specify. The AWS IoT Greengrass Core software applies reset updates before it applies merge updates. For more information, see Update component configuration .- Returns:
this
-
configurationUpdate
@Stability(Stable) public CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.Builder configurationUpdate(CfnDeploymentPropsMixin.ComponentConfigurationUpdateProperty configurationUpdate) Sets the value ofCfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.getConfigurationUpdate()- Parameters:
configurationUpdate- The configuration updates to deploy for the component. You can define reset updates and merge updates. A reset updates the keys that you specify to the default configuration for the component. A merge updates the core device's component configuration with the keys and values that you specify. The AWS IoT Greengrass Core software applies reset updates before it applies merge updates. For more information, see Update component configuration .- Returns:
this
-
runWith
@Stability(Stable) public CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.Builder runWith(IResolvable runWith) - Parameters:
runWith- The system user and group that the software uses to run component processes on the core device. If you omit this parameter, the software uses the system user and group that you configure for the core device. For more information, see Configure the user and group that run components in the AWS IoT Greengrass V2 Developer Guide .- Returns:
this
-
runWith
@Stability(Stable) public CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty.Builder runWith(CfnDeploymentPropsMixin.ComponentRunWithProperty runWith) - Parameters:
runWith- The system user and group that the software uses to run component processes on the core device. If you omit this parameter, the software uses the system user and group that you configure for the core device. For more information, see Configure the user and group that run components in the AWS IoT Greengrass V2 Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty>- Returns:
- a new instance of
CfnDeploymentPropsMixin.ComponentDeploymentSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-