Interface EffectiveDeployment.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<EffectiveDeployment.Builder,,- EffectiveDeployment> - SdkBuilder<EffectiveDeployment.Builder,,- EffectiveDeployment> - SdkPojo
- Enclosing class:
- EffectiveDeployment
- 
Method SummaryModifier and TypeMethodDescriptioncoreDeviceExecutionStatus(String coreDeviceExecutionStatus) The status of the deployment job on the Greengrass core device.coreDeviceExecutionStatus(EffectiveDeploymentExecutionStatus coreDeviceExecutionStatus) The status of the deployment job on the Greengrass core device.creationTimestamp(Instant creationTimestamp) The time at which the deployment was created, expressed in ISO 8601 format.deploymentId(String deploymentId) The ID of the deployment.deploymentName(String deploymentName) The name of the deployment.description(String description) The description of the deployment job.The ARN of the IoT job that applies the deployment to target devices.The ID of the IoT job that applies the deployment to target devices.modifiedTimestamp(Instant modifiedTimestamp) The time at which the deployment job was last modified, expressed in ISO 8601 format.The reason code for the update, if the job was updated.default EffectiveDeployment.BuilderstatusDetails(Consumer<EffectiveDeploymentStatusDetails.Builder> statusDetails) The status details that explain why a deployment has an error.statusDetails(EffectiveDeploymentStatusDetails statusDetails) The status details that explain why a deployment has an error.The ARN of the target IoT thing or thing group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
deploymentIdThe ID of the deployment. - Parameters:
- deploymentId- The ID of the deployment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
deploymentNameThe name of the deployment. - Parameters:
- deploymentName- The name of the deployment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
iotJobIdThe ID of the IoT job that applies the deployment to target devices. - Parameters:
- iotJobId- The ID of the IoT job that applies the deployment to target devices.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
iotJobArn
- 
descriptionThe description of the deployment job. - Parameters:
- description- The description of the deployment job.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
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.
 - Parameters:
- 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 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.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
coreDeviceExecutionStatusEffectiveDeployment.Builder coreDeviceExecutionStatus(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 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.
 - Parameters:
- 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 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.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
reasonThe reason code for the update, if the job was updated. - Parameters:
- reason- The reason code for the update, if the job was updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
creationTimestampThe time at which the deployment was created, expressed in ISO 8601 format. - Parameters:
- creationTimestamp- The time at which the deployment was created, expressed in ISO 8601 format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
modifiedTimestampThe time at which the deployment job was last modified, expressed in ISO 8601 format. - Parameters:
- modifiedTimestamp- The time at which the deployment job was last modified, expressed in ISO 8601 format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusDetailsThe status details that explain why a deployment has an error. This response will be null if the deployment is in a success state. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusDetailsdefault EffectiveDeployment.Builder statusDetails(Consumer<EffectiveDeploymentStatusDetails.Builder> 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. This is a convenience method that creates an instance of theEffectiveDeploymentStatusDetails.Builderavoiding the need to create one manually viaEffectiveDeploymentStatusDetails.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusDetails(EffectiveDeploymentStatusDetails).- Parameters:
- statusDetails- a consumer that will call methods on- EffectiveDeploymentStatusDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-