Interface ComponentDependencyRequirement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComponentDependencyRequirement.Builder,ComponentDependencyRequirement>,SdkBuilder<ComponentDependencyRequirement.Builder,ComponentDependencyRequirement>,SdkPojo
- Enclosing class:
- ComponentDependencyRequirement
public static interface ComponentDependencyRequirement.Builder extends SdkPojo, CopyableBuilder<ComponentDependencyRequirement.Builder,ComponentDependencyRequirement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentDependencyRequirement.BuilderdependencyType(String dependencyType)The type of this dependency.ComponentDependencyRequirement.BuilderdependencyType(ComponentDependencyType dependencyType)The type of this dependency.ComponentDependencyRequirement.BuilderversionRequirement(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 Detail
-
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:
ComponentDependencyType,ComponentDependencyType
-
-
dependencyType
ComponentDependencyRequirement.Builder dependencyType(ComponentDependencyType 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:
ComponentDependencyType,ComponentDependencyType
-
-
-