Interface ComponentDeploymentSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComponentDeploymentSpecification.Builder,
,ComponentDeploymentSpecification> SdkBuilder<ComponentDeploymentSpecification.Builder,
,ComponentDeploymentSpecification> SdkPojo
- Enclosing class:
ComponentDeploymentSpecification
-
Method Summary
Modifier and TypeMethodDescriptioncomponentVersion
(String componentVersion) The version of the component.configurationUpdate
(Consumer<ComponentConfigurationUpdate.Builder> configurationUpdate) The configuration updates to deploy for the component.configurationUpdate
(ComponentConfigurationUpdate configurationUpdate) The configuration updates to deploy for the component.runWith
(Consumer<ComponentRunWith.Builder> runWith) The system user and group that the IoT Greengrass Core software uses to run component processes on the core device.runWith
(ComponentRunWith runWith) The system user and group that the IoT Greengrass Core software uses to run component processes on the core device.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
componentVersion
The version of the component.
- Parameters:
componentVersion
- The version of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationUpdate
ComponentDeploymentSpecification.Builder configurationUpdate(ComponentConfigurationUpdate 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 IoT Greengrass Core software applies reset updates before it applies merge updates. For more information, see Update component configurations in the IoT Greengrass V2 Developer Guide.
- 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 IoT Greengrass Core software applies reset updates before it applies merge updates. For more information, see Update component configurations in the IoT Greengrass V2 Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationUpdate
default ComponentDeploymentSpecification.Builder configurationUpdate(Consumer<ComponentConfigurationUpdate.Builder> 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 IoT Greengrass Core software applies reset updates before it applies merge updates. For more information, see Update component configurations in the IoT Greengrass V2 Developer Guide.
This is a convenience method that creates an instance of theComponentConfigurationUpdate.Builder
avoiding the need to create one manually viaComponentConfigurationUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationUpdate(ComponentConfigurationUpdate)
.- Parameters:
configurationUpdate
- a consumer that will call methods onComponentConfigurationUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runWith
The system user and group that the IoT Greengrass Core software uses to run component processes on the core device. If you omit this parameter, the IoT Greengrass Core 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 IoT Greengrass V2 Developer Guide.
- Parameters:
runWith
- The system user and group that the IoT Greengrass Core software uses to run component processes on the core device. If you omit this parameter, the IoT Greengrass Core 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 IoT Greengrass V2 Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runWith
default ComponentDeploymentSpecification.Builder runWith(Consumer<ComponentRunWith.Builder> runWith) The system user and group that the IoT Greengrass Core software uses to run component processes on the core device. If you omit this parameter, the IoT Greengrass Core 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 IoT Greengrass V2 Developer Guide.
This is a convenience method that creates an instance of theComponentRunWith.Builder
avoiding the need to create one manually viaComponentRunWith.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torunWith(ComponentRunWith)
.- Parameters:
runWith
- a consumer that will call methods onComponentRunWith.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-