@Generated(value="software.amazon.awssdk:codegen") public final class EffectiveDeployment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EffectiveDeployment.Builder,EffectiveDeployment>
Contains information about a deployment job that IoT Greengrass sends to a Greengrass core device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EffectiveDeployment.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EffectiveDeployment.Builder |
builder() |
EffectiveDeploymentExecutionStatus |
coreDeviceExecutionStatus()
The status of the deployment job on the Greengrass core device.
|
String |
coreDeviceExecutionStatusAsString()
The status of the deployment job on the Greengrass core device.
|
Instant |
creationTimestamp()
The time at which the deployment was created, expressed in ISO 8601 format.
|
String |
deploymentId()
The ID of the deployment.
|
String |
deploymentName()
The name of the deployment.
|
String |
description()
The description of the deployment job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iotJobArn()
The ARN of the IoT job
that applies the deployment to target devices.
|
String |
iotJobId()
The ID of the IoT job that applies the deployment to target devices.
|
Instant |
modifiedTimestamp()
The time at which the deployment job was last modified, expressed in ISO 8601 format.
|
String |
reason()
The reason code for the update, if the job was updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EffectiveDeployment.Builder> |
serializableBuilderClass() |
EffectiveDeploymentStatusDetails |
statusDetails()
The status details that explain why a deployment has an error.
|
String |
targetArn()
The ARN of the target
IoT thing or thing group.
|
EffectiveDeployment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String deploymentId()
The ID of the deployment.
public final String deploymentName()
The name of the deployment.
public final String iotJobId()
The ID of the IoT job that applies the deployment to target devices.
public final String iotJobArn()
The ARN of the IoT job that applies the deployment to target devices.
public final String description()
The description of the deployment job.
public final String targetArn()
The ARN of the target IoT thing or thing group.
public final EffectiveDeploymentExecutionStatus coreDeviceExecutionStatus()
The status of the deployment job on the Greengrass core device.
IN_PROGRESS – The deployment job is running.
QUEUED – The deployment job is in the job queue and waiting to run.
FAILED – The deployment failed. For more information, see the statusDetails field.
COMPLETED – The deployment to an IoT thing was completed successfully.
TIMED_OUT – The deployment didn't complete in the allotted time.
CANCELED – The deployment was canceled by the user.
REJECTED – The deployment was rejected. For more information, see the statusDetails
field.
SUCCEEDED – The deployment to an IoT thing group was completed successfully.
If the service returns an enum value that is not available in the current SDK version,
coreDeviceExecutionStatus will return EffectiveDeploymentExecutionStatus.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from coreDeviceExecutionStatusAsString().
IN_PROGRESS – The deployment job is running.
QUEUED – The deployment job is in the job queue and waiting to run.
FAILED – The deployment failed. For more information, see the statusDetails
field.
COMPLETED – The deployment to an IoT thing was completed successfully.
TIMED_OUT – The deployment didn't complete in the allotted time.
CANCELED – The deployment was canceled by the user.
REJECTED – The deployment was rejected. For more information, see the
statusDetails field.
SUCCEEDED – The deployment to an IoT thing group was completed successfully.
EffectiveDeploymentExecutionStatuspublic final String coreDeviceExecutionStatusAsString()
The status of the deployment job on the Greengrass core device.
IN_PROGRESS – The deployment job is running.
QUEUED – The deployment job is in the job queue and waiting to run.
FAILED – The deployment failed. For more information, see the statusDetails field.
COMPLETED – The deployment to an IoT thing was completed successfully.
TIMED_OUT – The deployment didn't complete in the allotted time.
CANCELED – The deployment was canceled by the user.
REJECTED – The deployment was rejected. For more information, see the statusDetails
field.
SUCCEEDED – The deployment to an IoT thing group was completed successfully.
If the service returns an enum value that is not available in the current SDK version,
coreDeviceExecutionStatus will return EffectiveDeploymentExecutionStatus.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from coreDeviceExecutionStatusAsString().
IN_PROGRESS – The deployment job is running.
QUEUED – The deployment job is in the job queue and waiting to run.
FAILED – The deployment failed. For more information, see the statusDetails
field.
COMPLETED – The deployment to an IoT thing was completed successfully.
TIMED_OUT – The deployment didn't complete in the allotted time.
CANCELED – The deployment was canceled by the user.
REJECTED – The deployment was rejected. For more information, see the
statusDetails field.
SUCCEEDED – The deployment to an IoT thing group was completed successfully.
EffectiveDeploymentExecutionStatuspublic final String reason()
The reason code for the update, if the job was updated.
public final Instant creationTimestamp()
The time at which the deployment was created, expressed in ISO 8601 format.
public final Instant modifiedTimestamp()
The time at which the deployment job was last modified, expressed in ISO 8601 format.
public final EffectiveDeploymentStatusDetails statusDetails()
The status details that explain why a deployment has an error. This response will be null if the deployment is in a success state.
public EffectiveDeployment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EffectiveDeployment.Builder,EffectiveDeployment>public static EffectiveDeployment.Builder builder()
public static Class<? extends EffectiveDeployment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.