* The ARN of the target * IoT thing or thing group. *
*/ private String targetArn; /** ** The revision number of the deployment. *
*/ private String revisionId; /** ** The ID of the deployment. *
*/ private String deploymentId; /** ** The name of the deployment. *
*/ private String deploymentName; /** ** The status of the deployment. *
*/ private String deploymentStatus; /** ** The ID of the IoT job that applies the deployment to target devices. *
*/ private String iotJobId; /** ** The ARN of the IoT job * that applies the deployment to target devices. *
*/ private String iotJobArn; /** ** The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value * is the version and configuration to deploy for that component. *
*/ private java.util.Map* The deployment policies for the deployment. These policies define how the deployment updates components and * handles failure. *
*/ private DeploymentPolicies deploymentPolicies; /** ** The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and * stop configurations for the deployment configuration. *
*/ private DeploymentIoTJobConfiguration iotJobConfiguration; /** ** The time at which the deployment was created, expressed in ISO 8601 format. *
*/ private java.util.Date creationTimestamp; /** ** Whether or not the deployment is the latest revision for its target. *
*/ private Boolean isLatestForTarget; /** ** The parent deployment's target ARN within a subdeployment. *
*/ private String parentTargetArn; /** ** A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the * IoT Greengrass V2 Developer Guide. *
*/ private java.util.Map* The ARN of the target * IoT thing or thing group. *
* * @param targetArn * The ARN of the * target IoT thing or thing group. */ public void setTargetArn(String targetArn) { this.targetArn = targetArn; } /** ** The ARN of the target * IoT thing or thing group. *
* * @return The ARN of the * target IoT thing or thing group. */ public String getTargetArn() { return this.targetArn; } /** ** The ARN of the target * IoT thing or thing group. *
* * @param targetArn * The ARN of the * target IoT thing or thing group. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withTargetArn(String targetArn) { setTargetArn(targetArn); return this; } /** ** The revision number of the deployment. *
* * @param revisionId * The revision number of the deployment. */ public void setRevisionId(String revisionId) { this.revisionId = revisionId; } /** ** The revision number of the deployment. *
* * @return The revision number of the deployment. */ public String getRevisionId() { return this.revisionId; } /** ** The revision number of the deployment. *
* * @param revisionId * The revision number of the deployment. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withRevisionId(String revisionId) { setRevisionId(revisionId); return this; } /** ** The ID of the deployment. *
* * @param deploymentId * The ID of the deployment. */ public void setDeploymentId(String deploymentId) { this.deploymentId = deploymentId; } /** ** The ID of the deployment. *
* * @return The ID of the deployment. */ public String getDeploymentId() { return this.deploymentId; } /** ** The ID of the deployment. *
* * @param deploymentId * The ID of the deployment. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withDeploymentId(String deploymentId) { setDeploymentId(deploymentId); return this; } /** ** The name of the deployment. *
* * @param deploymentName * The name of the deployment. */ public void setDeploymentName(String deploymentName) { this.deploymentName = deploymentName; } /** ** The name of the deployment. *
* * @return The name of the deployment. */ public String getDeploymentName() { return this.deploymentName; } /** ** The name of the deployment. *
* * @param deploymentName * The name of the deployment. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withDeploymentName(String deploymentName) { setDeploymentName(deploymentName); return this; } /** ** The status of the deployment. *
* * @param deploymentStatus * The status of the deployment. * @see DeploymentStatus */ public void setDeploymentStatus(String deploymentStatus) { this.deploymentStatus = deploymentStatus; } /** ** The status of the deployment. *
* * @return The status of the deployment. * @see DeploymentStatus */ public String getDeploymentStatus() { return this.deploymentStatus; } /** ** The status of the deployment. *
* * @param deploymentStatus * The status of the deployment. * @return Returns a reference to this object so that method calls can be chained together. * @see DeploymentStatus */ public GetDeploymentResult withDeploymentStatus(String deploymentStatus) { setDeploymentStatus(deploymentStatus); return this; } /** ** The status of the deployment. *
* * @param deploymentStatus * The status of the deployment. * @return Returns a reference to this object so that method calls can be chained together. * @see DeploymentStatus */ public GetDeploymentResult withDeploymentStatus(DeploymentStatus deploymentStatus) { this.deploymentStatus = deploymentStatus.toString(); return this; } /** ** The ID of the IoT job that applies the deployment to target devices. *
* * @param iotJobId * The ID of the IoT job that applies the deployment to target devices. */ public void setIotJobId(String iotJobId) { this.iotJobId = iotJobId; } /** ** The ID of the IoT job that applies the deployment to target devices. *
* * @return The ID of the IoT job that applies the deployment to target devices. */ public String getIotJobId() { return this.iotJobId; } /** ** The ID of the IoT job that applies the deployment to target devices. *
* * @param iotJobId * The ID of the IoT job that applies the deployment to target devices. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withIotJobId(String iotJobId) { setIotJobId(iotJobId); return this; } /** ** The ARN of the IoT job * that applies the deployment to target devices. *
* * @param iotJobArn * The ARN of the * IoT job that applies the deployment to target devices. */ public void setIotJobArn(String iotJobArn) { this.iotJobArn = iotJobArn; } /** ** The ARN of the IoT job * that applies the deployment to target devices. *
* * @return The ARN of the * IoT job that applies the deployment to target devices. */ public String getIotJobArn() { return this.iotJobArn; } /** ** The ARN of the IoT job * that applies the deployment to target devices. *
* * @param iotJobArn * The ARN of the * IoT job that applies the deployment to target devices. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withIotJobArn(String iotJobArn) { setIotJobArn(iotJobArn); return this; } /** ** The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value * is the version and configuration to deploy for that component. *
* * @return The components to deploy. This is a dictionary, where each key is the name of a component, and each key's * value is the version and configuration to deploy for that component. */ public java.util.Map* The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value * is the version and configuration to deploy for that component. *
* * @param components * The components to deploy. This is a dictionary, where each key is the name of a component, and each key's * value is the version and configuration to deploy for that component. */ public void setComponents(java.util.Map* The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value * is the version and configuration to deploy for that component. *
* * @param components * The components to deploy. This is a dictionary, where each key is the name of a component, and each key's * value is the version and configuration to deploy for that component. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withComponents(java.util.Map* The deployment policies for the deployment. These policies define how the deployment updates components and * handles failure. *
* * @param deploymentPolicies * The deployment policies for the deployment. These policies define how the deployment updates components * and handles failure. */ public void setDeploymentPolicies(DeploymentPolicies deploymentPolicies) { this.deploymentPolicies = deploymentPolicies; } /** ** The deployment policies for the deployment. These policies define how the deployment updates components and * handles failure. *
* * @return The deployment policies for the deployment. These policies define how the deployment updates components * and handles failure. */ public DeploymentPolicies getDeploymentPolicies() { return this.deploymentPolicies; } /** ** The deployment policies for the deployment. These policies define how the deployment updates components and * handles failure. *
* * @param deploymentPolicies * The deployment policies for the deployment. These policies define how the deployment updates components * and handles failure. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withDeploymentPolicies(DeploymentPolicies deploymentPolicies) { setDeploymentPolicies(deploymentPolicies); return this; } /** ** The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and * stop configurations for the deployment configuration. *
* * @param iotJobConfiguration * The job configuration for the deployment configuration. The job configuration specifies the rollout, * timeout, and stop configurations for the deployment configuration. */ public void setIotJobConfiguration(DeploymentIoTJobConfiguration iotJobConfiguration) { this.iotJobConfiguration = iotJobConfiguration; } /** ** The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and * stop configurations for the deployment configuration. *
* * @return The job configuration for the deployment configuration. The job configuration specifies the rollout, * timeout, and stop configurations for the deployment configuration. */ public DeploymentIoTJobConfiguration getIotJobConfiguration() { return this.iotJobConfiguration; } /** ** The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and * stop configurations for the deployment configuration. *
* * @param iotJobConfiguration * The job configuration for the deployment configuration. The job configuration specifies the rollout, * timeout, and stop configurations for the deployment configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withIotJobConfiguration(DeploymentIoTJobConfiguration iotJobConfiguration) { setIotJobConfiguration(iotJobConfiguration); return this; } /** ** The time at which the deployment was created, expressed in ISO 8601 format. *
* * @param creationTimestamp * The time at which the deployment was created, expressed in ISO 8601 format. */ public void setCreationTimestamp(java.util.Date creationTimestamp) { this.creationTimestamp = creationTimestamp; } /** ** The time at which the deployment was created, expressed in ISO 8601 format. *
* * @return The time at which the deployment was created, expressed in ISO 8601 format. */ public java.util.Date getCreationTimestamp() { return this.creationTimestamp; } /** ** The time at which the deployment was created, expressed in ISO 8601 format. *
* * @param creationTimestamp * The time at which the deployment was created, expressed in ISO 8601 format. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withCreationTimestamp(java.util.Date creationTimestamp) { setCreationTimestamp(creationTimestamp); return this; } /** ** Whether or not the deployment is the latest revision for its target. *
* * @param isLatestForTarget * Whether or not the deployment is the latest revision for its target. */ public void setIsLatestForTarget(Boolean isLatestForTarget) { this.isLatestForTarget = isLatestForTarget; } /** ** Whether or not the deployment is the latest revision for its target. *
* * @return Whether or not the deployment is the latest revision for its target. */ public Boolean getIsLatestForTarget() { return this.isLatestForTarget; } /** ** Whether or not the deployment is the latest revision for its target. *
* * @param isLatestForTarget * Whether or not the deployment is the latest revision for its target. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withIsLatestForTarget(Boolean isLatestForTarget) { setIsLatestForTarget(isLatestForTarget); return this; } /** ** Whether or not the deployment is the latest revision for its target. *
* * @return Whether or not the deployment is the latest revision for its target. */ public Boolean isLatestForTarget() { return this.isLatestForTarget; } /** ** The parent deployment's target ARN within a subdeployment. *
* * @param parentTargetArn * The parent deployment's target ARN within a * subdeployment. */ public void setParentTargetArn(String parentTargetArn) { this.parentTargetArn = parentTargetArn; } /** ** The parent deployment's target ARN within a subdeployment. *
* * @return The parent deployment's target ARN within a * subdeployment. */ public String getParentTargetArn() { return this.parentTargetArn; } /** ** The parent deployment's target ARN within a subdeployment. *
* * @param parentTargetArn * The parent deployment's target ARN within a * subdeployment. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withParentTargetArn(String parentTargetArn) { setParentTargetArn(parentTargetArn); return this; } /** ** A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the * IoT Greengrass V2 Developer Guide. *
* * @return A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources * in the IoT Greengrass V2 Developer Guide. */ public java.util.Map* A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the * IoT Greengrass V2 Developer Guide. *
* * @param tags * A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources * in the IoT Greengrass V2 Developer Guide. */ public void setTags(java.util.Map* A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the * IoT Greengrass V2 Developer Guide. *
* * @param tags * A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources * in the IoT Greengrass V2 Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeploymentResult withTags(java.util.Map