@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentDependencyRequirement extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a component dependency for a Lambda function component.
Constructor and Description |
---|
ComponentDependencyRequirement() |
Modifier and Type | Method and Description |
---|---|
ComponentDependencyRequirement |
clone() |
boolean |
equals(Object obj) |
String |
getDependencyType()
The type of this dependency.
|
String |
getVersionRequirement()
The component version requirement for the component dependency.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDependencyType(String dependencyType)
The type of this dependency.
|
void |
setVersionRequirement(String versionRequirement)
The component version requirement for the component dependency.
|
String |
toString()
Returns a string representation of this object.
|
ComponentDependencyRequirement |
withDependencyType(ComponentDependencyType dependencyType)
The type of this dependency.
|
ComponentDependencyRequirement |
withDependencyType(String dependencyType)
The type of this dependency.
|
ComponentDependencyRequirement |
withVersionRequirement(String versionRequirement)
The component version requirement for the component dependency.
|
public void setVersionRequirement(String versionRequirement)
The component version requirement for the component dependency.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
versionRequirement
- The component version requirement for the component dependency.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
public String getVersionRequirement()
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 ComponentDependencyRequirement withVersionRequirement(String versionRequirement)
The component version requirement for the component dependency.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
versionRequirement
- The component version requirement for the component dependency.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
public void setDependencyType(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
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
ComponentDependencyType
public String getDependencyType()
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
SOFT
– The component doesn't restart if the dependency changes state.
HARD
– The component restarts if the dependency changes state.
Default: HARD
ComponentDependencyType
public ComponentDependencyRequirement withDependencyType(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
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
ComponentDependencyType
public ComponentDependencyRequirement withDependencyType(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
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
ComponentDependencyType
public String toString()
toString
in class Object
Object.toString()
public ComponentDependencyRequirement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.