Interface ComponentDependencyRequirement.Builder

  • Method Details

    • versionRequirement

      ComponentDependencyRequirement.Builder versionRequirement(String versionRequirement)

      The component version requirement for the component dependency.

      IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.

      Parameters:
      versionRequirement - The component version requirement for the component dependency.

      IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dependencyType

      ComponentDependencyRequirement.Builder dependencyType(String dependencyType)

      The type of this dependency. Choose from the following options:

      • SOFT – The component doesn't restart if the dependency changes state.

      • HARD – The component restarts if the dependency changes state.

      Default: HARD

      Parameters:
      dependencyType - The type of this dependency. Choose from the following options:

      • SOFT – The component doesn't restart if the dependency changes state.

      • HARD – The component restarts if the dependency changes state.

      Default: HARD

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dependencyType

      The type of this dependency. Choose from the following options:

      • SOFT – The component doesn't restart if the dependency changes state.

      • HARD – The component restarts if the dependency changes state.

      Default: HARD

      Parameters:
      dependencyType - The type of this dependency. Choose from the following options:

      • SOFT – The component doesn't restart if the dependency changes state.

      • HARD – The component restarts if the dependency changes state.

      Default: HARD

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: