@Generated(value="software.amazon.awssdk:codegen") public final class ComponentDependencyRequirement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComponentDependencyRequirement.Builder,ComponentDependencyRequirement>
Contains information about a component dependency for a Lambda function component.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComponentDependencyRequirement.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ComponentDependencyRequirement.Builder |
builder() |
ComponentDependencyType |
dependencyType()
The type of this dependency.
|
String |
dependencyTypeAsString()
The type of this dependency.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ComponentDependencyRequirement.Builder> |
serializableBuilderClass() |
ComponentDependencyRequirement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionRequirement()
The component version requirement for the component dependency.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String versionRequirement()
The component version requirement for the component dependency.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
public final 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
If the service returns an enum value that is not available in the current SDK version, dependencyType
will return ComponentDependencyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from dependencyTypeAsString().
SOFT – The component doesn't restart if the dependency changes state.
HARD – The component restarts if the dependency changes state.
Default: HARD
ComponentDependencyTypepublic final String dependencyTypeAsString()
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
If the service returns an enum value that is not available in the current SDK version, dependencyType
will return ComponentDependencyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from dependencyTypeAsString().
SOFT – The component doesn't restart if the dependency changes state.
HARD – The component restarts if the dependency changes state.
Default: HARD
ComponentDependencyTypepublic ComponentDependencyRequirement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComponentDependencyRequirement.Builder,ComponentDependencyRequirement>public static ComponentDependencyRequirement.Builder builder()
public static Class<? extends ComponentDependencyRequirement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.