Class CfnDeployment.ComponentConfigurationUpdateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrassv2.CfnDeployment.ComponentConfigurationUpdateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeployment.ComponentConfigurationUpdateProperty>
- Enclosing interface:
CfnDeployment.ComponentConfigurationUpdateProperty
@Stability(Stable)
public static final class CfnDeployment.ComponentConfigurationUpdateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeployment.ComponentConfigurationUpdateProperty>
A builder for
CfnDeployment.ComponentConfigurationUpdateProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDeployment.ComponentConfigurationUpdateProperty.getMerge()
Sets the value ofCfnDeployment.ComponentConfigurationUpdateProperty.getReset()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
merge
@Stability(Stable) public CfnDeployment.ComponentConfigurationUpdateProperty.Builder merge(String merge) Sets the value ofCfnDeployment.ComponentConfigurationUpdateProperty.getMerge()
- Parameters:
merge
- A serialized JSON string that contains the configuration object to merge to target devices. The core device merges this configuration with the component's existing configuration. If this is the first time a component deploys on a device, the core device merges this configuration with the component's default configuration. This means that the core device keeps it's existing configuration for keys and values that you don't specify in this object. For more information, see Merge configuration updates in the AWS IoT Greengrass V2 Developer Guide .- Returns:
this
-
reset
@Stability(Stable) public CfnDeployment.ComponentConfigurationUpdateProperty.Builder reset(List<String> reset) Sets the value ofCfnDeployment.ComponentConfigurationUpdateProperty.getReset()
- Parameters:
reset
- The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify each node to reset. JSON pointers start with a forward slash (/
) and use forward slashes to separate the key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the AWS IoT Greengrass V2 Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeployment.ComponentConfigurationUpdateProperty>
- Returns:
- a new instance of
CfnDeployment.ComponentConfigurationUpdateProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-