Interface ComponentDependencyRequirement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComponentDependencyRequirement.Builder,
,ComponentDependencyRequirement> SdkBuilder<ComponentDependencyRequirement.Builder,
,ComponentDependencyRequirement> SdkPojo
- Enclosing class:
ComponentDependencyRequirement
-
Method Summary
Modifier and TypeMethodDescriptiondependencyType
(String dependencyType) The type of this dependency.dependencyType
(ComponentDependencyType dependencyType) The type of this dependency.versionRequirement
(String versionRequirement) The component version requirement for the component dependency.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
-
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
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:
-
-