public static final class CfnComponentVersion.ComponentDependencyRequirementProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnComponentVersion.ComponentDependencyRequirementProperty |
build()
Builds the configured instance.
|
CfnComponentVersion.ComponentDependencyRequirementProperty.Builder |
dependencyType(java.lang.String dependencyType)
|
CfnComponentVersion.ComponentDependencyRequirementProperty.Builder |
versionRequirement(java.lang.String versionRequirement)
|
public CfnComponentVersion.ComponentDependencyRequirementProperty.Builder dependencyType(java.lang.String dependencyType)
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
this
public CfnComponentVersion.ComponentDependencyRequirementProperty.Builder versionRequirement(java.lang.String versionRequirement)
CfnComponentVersion.ComponentDependencyRequirementProperty.getVersionRequirement()
versionRequirement
- The component version requirement for the component dependency.
AWS IoT Greengrass uses semantic version constraints. For more information, see Semantic Versioning .this
public CfnComponentVersion.ComponentDependencyRequirementProperty build()
CfnComponentVersion.ComponentDependencyRequirementProperty
java.lang.NullPointerException
- if any required attribute was not provided