@Generated(value="software.amazon.awssdk:codegen") public final class ComponentCandidate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComponentCandidate.Builder,ComponentCandidate>
Contains information about a component that is a candidate to deploy to a AWS IoT Greengrass core device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComponentCandidate.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ComponentCandidate.Builder |
builder() |
String |
componentName()
The name of the component.
|
String |
componentVersion()
The version of the component.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasVersionRequirements()
Returns true if the VersionRequirements property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ComponentCandidate.Builder> |
serializableBuilderClass() |
ComponentCandidate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Map<String,String> |
versionRequirements()
The version requirements for the component's dependencies.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String componentName()
The name of the component.
public final String componentVersion()
The version of the component.
public final boolean hasVersionRequirements()
public final Map<String,String> versionRequirements()
The version requirements for the component's dependencies. AWS IoT Greengrass core devices get the version requirements from component recipes.
AWS IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasVersionRequirements() to see if a value was sent in this field.
AWS IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
public ComponentCandidate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComponentCandidate.Builder,ComponentCandidate>public static ComponentCandidate.Builder builder()
public static Class<? extends ComponentCandidate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.