@Generated(value="software.amazon.awssdk:codegen") public final class InstalledComponent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstalledComponent.Builder,InstalledComponent>
Contains information about a component on a Greengrass core device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstalledComponent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstalledComponent.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 |
isRoot()
Whether or not the component is a root component.
|
InstalledComponentLifecycleState |
lifecycleState()
The lifecycle state of the component.
|
String |
lifecycleStateAsString()
The lifecycle state of the component.
|
String |
lifecycleStateDetails()
The details about the lifecycle state of the component.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstalledComponent.Builder> |
serializableBuilderClass() |
InstalledComponent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
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 InstalledComponentLifecycleState lifecycleState()
The lifecycle state of the component.
If the service returns an enum value that is not available in the current SDK version, lifecycleState
will return InstalledComponentLifecycleState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from lifecycleStateAsString().
InstalledComponentLifecycleStatepublic final String lifecycleStateAsString()
The lifecycle state of the component.
If the service returns an enum value that is not available in the current SDK version, lifecycleState
will return InstalledComponentLifecycleState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from lifecycleStateAsString().
InstalledComponentLifecycleStatepublic final String lifecycleStateDetails()
The details about the lifecycle state of the component.
public final Boolean isRoot()
Whether or not the component is a root component.
public InstalledComponent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstalledComponent.Builder,InstalledComponent>public static InstalledComponent.Builder builder()
public static Class<? extends InstalledComponent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.