public static interface ComponentDeploymentSpecification.Builder extends SdkPojo, CopyableBuilder<ComponentDeploymentSpecification.Builder,ComponentDeploymentSpecification>
| Modifier and Type | Method and Description |
|---|---|
ComponentDeploymentSpecification.Builder |
componentVersion(String componentVersion)
The version of the component.
|
ComponentDeploymentSpecification.Builder |
configurationUpdate(ComponentConfigurationUpdate configurationUpdate)
The configuration updates to deploy for the component.
|
default ComponentDeploymentSpecification.Builder |
configurationUpdate(Consumer<ComponentConfigurationUpdate.Builder> configurationUpdate)
The configuration updates to deploy for the component.
|
ComponentDeploymentSpecification.Builder |
runWith(ComponentRunWith runWith)
The system user and group that the IoT Greengrass Core software uses to run component processes on the core
device.
|
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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComponentDeploymentSpecification.Builder componentVersion(String componentVersion)
The version of the component.
componentVersion - The version of the component.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.
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.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 via ComponentConfigurationUpdate.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to configurationUpdate(ComponentConfigurationUpdate).
configurationUpdate - a consumer that will call methods on ComponentConfigurationUpdate.BuilderconfigurationUpdate(ComponentConfigurationUpdate)ComponentDeploymentSpecification.Builder runWith(ComponentRunWith 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.
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.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 via ComponentRunWith.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to runWith(ComponentRunWith).
runWith - a consumer that will call methods on ComponentRunWith.BuilderrunWith(ComponentRunWith)Copyright © 2023. All rights reserved.