Class EffectiveDeployment
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<EffectiveDeployment.Builder,- EffectiveDeployment> 
Contains information about a deployment job that IoT Greengrass sends to a Greengrass core device.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic EffectiveDeployment.Builderbuilder()The status of the deployment job on the Greengrass core device.final StringThe status of the deployment job on the Greengrass core device.final InstantThe time at which the deployment was created, expressed in ISO 8601 format.final StringThe ID of the deployment.final StringThe name of the deployment.final StringThe description of the deployment job.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ARN of the IoT job that applies the deployment to target devices.final StringiotJobId()The ID of the IoT job that applies the deployment to target devices.final InstantThe time at which the deployment job was last modified, expressed in ISO 8601 format.final Stringreason()The reason code for the update, if the job was updated.static Class<? extends EffectiveDeployment.Builder> The status details that explain why a deployment has an error.final StringThe ARN of the target IoT thing or thing group.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
deploymentId
- 
deploymentNameThe name of the deployment. - Returns:
- The name of the deployment.
 
- 
iotJobIdThe ID of the IoT job that applies the deployment to target devices. - Returns:
- The ID of the IoT job that applies the deployment to target devices.
 
- 
iotJobArn
- 
descriptionThe description of the deployment job. - Returns:
- The description of the deployment job.
 
- 
targetArn
- 
coreDeviceExecutionStatusThe 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 thestatusDetailsfield.
- 
 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 thestatusDetailsfield.
- 
 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, coreDeviceExecutionStatuswill returnEffectiveDeploymentExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcoreDeviceExecutionStatusAsString().- Returns:
- 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 thestatusDetailsfield.
- 
         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 thestatusDetailsfield.
- 
         SUCCEEDED– The deployment to an IoT thing group was completed successfully.
 
- 
         
- See Also:
 
- 
 
- 
coreDeviceExecutionStatusAsStringThe 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 thestatusDetailsfield.
- 
 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 thestatusDetailsfield.
- 
 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, coreDeviceExecutionStatuswill returnEffectiveDeploymentExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcoreDeviceExecutionStatusAsString().- Returns:
- 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 thestatusDetailsfield.
- 
         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 thestatusDetailsfield.
- 
         SUCCEEDED– The deployment to an IoT thing group was completed successfully.
 
- 
         
- See Also:
 
- 
 
- 
reasonThe reason code for the update, if the job was updated. - Returns:
- The reason code for the update, if the job was updated.
 
- 
creationTimestampThe time at which the deployment was created, expressed in ISO 8601 format. - Returns:
- The time at which the deployment was created, expressed in ISO 8601 format.
 
- 
modifiedTimestampThe time at which the deployment job was last modified, expressed in ISO 8601 format. - Returns:
- The time at which the deployment job was last modified, expressed in ISO 8601 format.
 
- 
statusDetailsThe status details that explain why a deployment has an error. This response will be null if the deployment is in a success state. - Returns:
- The status details that explain why a deployment has an error. This response will be null if the deployment is in a success state.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<EffectiveDeployment.Builder,- EffectiveDeployment> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-