/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.robomaker.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API
* Documentation
*/
@Deprecated
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class SyncDeploymentJobResult extends com.amazonaws.AmazonWebServiceResult
* The Amazon Resource Name (ARN) of the synchronization request.
*
* The Amazon Resource Name (ARN) of the fleet.
*
* The status of the synchronization job.
*
* Information about the deployment configuration.
*
* Information about the deployment application configurations.
*
* The failure reason if the job fails.
*
* The failure code if the job fails:
*
* Internal service error.
*
* Robot application exited abnormally.
*
* Simulation application exited abnormally.
*
* Robot application bundle could not be downloaded.
*
* Simulation application bundle could not be downloaded.
*
* Unable to publish outputs to customer-provided S3 bucket.
*
* Unable to publish logs to customer-provided CloudWatch Logs resource.
*
* Subnet IP limit exceeded.
*
* ENI limit exceeded.
*
* Unable to use the Role provided.
*
* Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
*
* Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
*
* Etag for RobotApplication does not match value during version creation.
*
* Etag for SimulationApplication does not match value during version creation.
*
* The time, in milliseconds since the epoch, when the fleet was created.
*
* The Amazon Resource Name (ARN) of the synchronization request.
*
* The Amazon Resource Name (ARN) of the synchronization request.
*
* The Amazon Resource Name (ARN) of the synchronization request.
*
* The Amazon Resource Name (ARN) of the fleet.
*
* The Amazon Resource Name (ARN) of the fleet.
*
* The Amazon Resource Name (ARN) of the fleet.
*
* The status of the synchronization job.
*
* The status of the synchronization job.
*
* The status of the synchronization job.
*
* The status of the synchronization job.
*
* Information about the deployment configuration.
*
* Information about the deployment configuration.
*
* Information about the deployment configuration.
*
* Information about the deployment application configurations.
*
* Information about the deployment application configurations.
*
* Information about the deployment application configurations.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setDeploymentApplicationConfigs(java.util.Collection)} or
* {@link #withDeploymentApplicationConfigs(java.util.Collection)} if you want to override the existing values.
*
* Information about the deployment application configurations.
*
* The failure reason if the job fails.
*
* The failure reason if the job fails.
*
* The failure reason if the job fails.
*
* The failure code if the job fails:
*
* Internal service error.
*
* Robot application exited abnormally.
*
* Simulation application exited abnormally.
*
* Robot application bundle could not be downloaded.
*
* Simulation application bundle could not be downloaded.
*
* Unable to publish outputs to customer-provided S3 bucket.
*
* Unable to publish logs to customer-provided CloudWatch Logs resource.
*
* Subnet IP limit exceeded.
*
* ENI limit exceeded.
*
* Unable to use the Role provided.
*
* Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
*
* Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
*
* Etag for RobotApplication does not match value during version creation.
*
* Etag for SimulationApplication does not match value during version creation.
*
*
*/
private String failureCode;
/**
*
*
*
* @param failureCode
* The failure code if the job fails:
* Internal service error. *
** Robot application exited abnormally. *
** Simulation application exited abnormally. *
** Robot application bundle could not be downloaded. *
** Simulation application bundle could not be downloaded. *
** Unable to publish outputs to customer-provided S3 bucket. *
** Unable to publish logs to customer-provided CloudWatch Logs resource. *
** Subnet IP limit exceeded. *
** ENI limit exceeded. *
** Unable to use the Role provided. *
** Robot bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Simulation bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Etag for RobotApplication does not match value during version creation. *
** Etag for SimulationApplication does not match value during version creation. *
** The failure code if the job fails: *
** Internal service error. *
** Robot application exited abnormally. *
** Simulation application exited abnormally. *
** Robot application bundle could not be downloaded. *
** Simulation application bundle could not be downloaded. *
** Unable to publish outputs to customer-provided S3 bucket. *
** Unable to publish logs to customer-provided CloudWatch Logs resource. *
** Subnet IP limit exceeded. *
** ENI limit exceeded. *
** Unable to use the Role provided. *
** Robot bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Simulation bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Etag for RobotApplication does not match value during version creation. *
** Etag for SimulationApplication does not match value during version creation. *
** Internal service error. *
** Robot application exited abnormally. *
** Simulation application exited abnormally. *
** Robot application bundle could not be downloaded. *
** Simulation application bundle could not be downloaded. *
** Unable to publish outputs to customer-provided S3 bucket. *
** Unable to publish logs to customer-provided CloudWatch Logs resource. *
** Subnet IP limit exceeded. *
** ENI limit exceeded. *
** Unable to use the Role provided. *
** Robot bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Simulation bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Etag for RobotApplication does not match value during version creation. *
** Etag for SimulationApplication does not match value during version creation. *
** The failure code if the job fails: *
** Internal service error. *
** Robot application exited abnormally. *
** Simulation application exited abnormally. *
** Robot application bundle could not be downloaded. *
** Simulation application bundle could not be downloaded. *
** Unable to publish outputs to customer-provided S3 bucket. *
** Unable to publish logs to customer-provided CloudWatch Logs resource. *
** Subnet IP limit exceeded. *
** ENI limit exceeded. *
** Unable to use the Role provided. *
** Robot bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Simulation bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Etag for RobotApplication does not match value during version creation. *
** Etag for SimulationApplication does not match value during version creation. *
** Internal service error. *
** Robot application exited abnormally. *
** Simulation application exited abnormally. *
** Robot application bundle could not be downloaded. *
** Simulation application bundle could not be downloaded. *
** Unable to publish outputs to customer-provided S3 bucket. *
** Unable to publish logs to customer-provided CloudWatch Logs resource. *
** Subnet IP limit exceeded. *
** ENI limit exceeded. *
** Unable to use the Role provided. *
** Robot bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Simulation bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Etag for RobotApplication does not match value during version creation. *
** Etag for SimulationApplication does not match value during version creation. *
** The failure code if the job fails: *
** Internal service error. *
** Robot application exited abnormally. *
** Simulation application exited abnormally. *
** Robot application bundle could not be downloaded. *
** Simulation application bundle could not be downloaded. *
** Unable to publish outputs to customer-provided S3 bucket. *
** Unable to publish logs to customer-provided CloudWatch Logs resource. *
** Subnet IP limit exceeded. *
** ENI limit exceeded. *
** Unable to use the Role provided. *
** Robot bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Simulation bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Etag for RobotApplication does not match value during version creation. *
** Etag for SimulationApplication does not match value during version creation. *
** Internal service error. *
** Robot application exited abnormally. *
** Simulation application exited abnormally. *
** Robot application bundle could not be downloaded. *
** Simulation application bundle could not be downloaded. *
** Unable to publish outputs to customer-provided S3 bucket. *
** Unable to publish logs to customer-provided CloudWatch Logs resource. *
** Subnet IP limit exceeded. *
** ENI limit exceeded. *
** Unable to use the Role provided. *
** Robot bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Simulation bundle cannot be extracted (invalid format, bundling error, or other issue). *
** Etag for RobotApplication does not match value during version creation. *
** Etag for SimulationApplication does not match value during version creation. *
** The time, in milliseconds since the epoch, when the fleet was created. *
* * @param createdAt * The time, in milliseconds since the epoch, when the fleet was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The time, in milliseconds since the epoch, when the fleet was created. *
* * @return The time, in milliseconds since the epoch, when the fleet was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The time, in milliseconds since the epoch, when the fleet was created. *
* * @param createdAt * The time, in milliseconds since the epoch, when the fleet was created. * @return Returns a reference to this object so that method calls can be chained together. */ public SyncDeploymentJobResult withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getFleet() != null) sb.append("Fleet: ").append(getFleet()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getDeploymentConfig() != null) sb.append("DeploymentConfig: ").append(getDeploymentConfig()).append(","); if (getDeploymentApplicationConfigs() != null) sb.append("DeploymentApplicationConfigs: ").append(getDeploymentApplicationConfigs()).append(","); if (getFailureReason() != null) sb.append("FailureReason: ").append(getFailureReason()).append(","); if (getFailureCode() != null) sb.append("FailureCode: ").append(getFailureCode()).append(","); if (getCreatedAt() != null) sb.append("CreatedAt: ").append(getCreatedAt()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SyncDeploymentJobResult == false) return false; SyncDeploymentJobResult other = (SyncDeploymentJobResult) obj; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getFleet() == null ^ this.getFleet() == null) return false; if (other.getFleet() != null && other.getFleet().equals(this.getFleet()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getDeploymentConfig() == null ^ this.getDeploymentConfig() == null) return false; if (other.getDeploymentConfig() != null && other.getDeploymentConfig().equals(this.getDeploymentConfig()) == false) return false; if (other.getDeploymentApplicationConfigs() == null ^ this.getDeploymentApplicationConfigs() == null) return false; if (other.getDeploymentApplicationConfigs() != null && other.getDeploymentApplicationConfigs().equals(this.getDeploymentApplicationConfigs()) == false) return false; if (other.getFailureReason() == null ^ this.getFailureReason() == null) return false; if (other.getFailureReason() != null && other.getFailureReason().equals(this.getFailureReason()) == false) return false; if (other.getFailureCode() == null ^ this.getFailureCode() == null) return false; if (other.getFailureCode() != null && other.getFailureCode().equals(this.getFailureCode()) == false) return false; if (other.getCreatedAt() == null ^ this.getCreatedAt() == null) return false; if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getFleet() == null) ? 0 : getFleet().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getDeploymentConfig() == null) ? 0 : getDeploymentConfig().hashCode()); hashCode = prime * hashCode + ((getDeploymentApplicationConfigs() == null) ? 0 : getDeploymentApplicationConfigs().hashCode()); hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); hashCode = prime * hashCode + ((getFailureCode() == null) ? 0 : getFailureCode().hashCode()); hashCode = prime * hashCode + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode()); return hashCode; } @Override public SyncDeploymentJobResult clone() { try { return (SyncDeploymentJobResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }