/*
* 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
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CreateSimulationJobResult extends com.amazonaws.AmazonWebServiceResult
* The Amazon Resource Name (ARN) of the simulation job.
*
* The status of the simulation job.
*
* The time, in milliseconds since the epoch, when the simulation job was last started.
*
* The time, in milliseconds since the epoch, when the simulation job was last updated.
*
* the failure behavior for the simulation job.
*
* The failure code of the simulation job if it failed:
*
* 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.
*
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
*
* Simulation job output files location.
*
* The logging configuration.
*
* The maximum simulation job duration in seconds.
*
* The simulation job execution duration in milliseconds.
*
* The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated policies on
* your behalf.
*
* The robot application used by the simulation job.
*
* The simulation application used by the simulation job.
*
* The data sources for the simulation job.
*
* The list of all tags added to the simulation job.
*
* Information about the vpc configuration.
*
* Compute information for the simulation job.
*
* The Amazon Resource Name (ARN) of the simulation job.
*
* The Amazon Resource Name (ARN) of the simulation job.
*
* The Amazon Resource Name (ARN) of the simulation job.
*
* The status of the simulation job.
*
* The status of the simulation job.
*
* The status of the simulation job.
*
* The status of the simulation job.
*
* The time, in milliseconds since the epoch, when the simulation job was last started.
*
* The time, in milliseconds since the epoch, when the simulation job was last started.
*
* The time, in milliseconds since the epoch, when the simulation job was last started.
*
* The time, in milliseconds since the epoch, when the simulation job was last updated.
*
* The time, in milliseconds since the epoch, when the simulation job was last updated.
*
* The time, in milliseconds since the epoch, when the simulation job was last updated.
*
* the failure behavior for the simulation job.
*
* the failure behavior for the simulation job.
*
* the failure behavior for the simulation job.
*
* the failure behavior for the simulation job.
*
* The failure code of the simulation job if it failed:
*
* 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 of the simulation job if it failed:
* 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 of the simulation job if it failed: *
** 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 of the simulation job if it failed: *
** 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 of the simulation job if it failed: *
** 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. *
** Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
* * @param clientRequestToken * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ public void setClientRequestToken(String clientRequestToken) { this.clientRequestToken = clientRequestToken; } /** ** Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
* * @return Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ public String getClientRequestToken() { return this.clientRequestToken; } /** ** Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
* * @param clientRequestToken * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withClientRequestToken(String clientRequestToken) { setClientRequestToken(clientRequestToken); return this; } /** ** Simulation job output files location. *
* * @param outputLocation * Simulation job output files location. */ public void setOutputLocation(OutputLocation outputLocation) { this.outputLocation = outputLocation; } /** ** Simulation job output files location. *
* * @return Simulation job output files location. */ public OutputLocation getOutputLocation() { return this.outputLocation; } /** ** Simulation job output files location. *
* * @param outputLocation * Simulation job output files location. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withOutputLocation(OutputLocation outputLocation) { setOutputLocation(outputLocation); return this; } /** ** The logging configuration. *
* * @param loggingConfig * The logging configuration. */ public void setLoggingConfig(LoggingConfig loggingConfig) { this.loggingConfig = loggingConfig; } /** ** The logging configuration. *
* * @return The logging configuration. */ public LoggingConfig getLoggingConfig() { return this.loggingConfig; } /** ** The logging configuration. *
* * @param loggingConfig * The logging configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withLoggingConfig(LoggingConfig loggingConfig) { setLoggingConfig(loggingConfig); return this; } /** ** The maximum simulation job duration in seconds. *
* * @param maxJobDurationInSeconds * The maximum simulation job duration in seconds. */ public void setMaxJobDurationInSeconds(Long maxJobDurationInSeconds) { this.maxJobDurationInSeconds = maxJobDurationInSeconds; } /** ** The maximum simulation job duration in seconds. *
* * @return The maximum simulation job duration in seconds. */ public Long getMaxJobDurationInSeconds() { return this.maxJobDurationInSeconds; } /** ** The maximum simulation job duration in seconds. *
* * @param maxJobDurationInSeconds * The maximum simulation job duration in seconds. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withMaxJobDurationInSeconds(Long maxJobDurationInSeconds) { setMaxJobDurationInSeconds(maxJobDurationInSeconds); return this; } /** ** The simulation job execution duration in milliseconds. *
* * @param simulationTimeMillis * The simulation job execution duration in milliseconds. */ public void setSimulationTimeMillis(Long simulationTimeMillis) { this.simulationTimeMillis = simulationTimeMillis; } /** ** The simulation job execution duration in milliseconds. *
* * @return The simulation job execution duration in milliseconds. */ public Long getSimulationTimeMillis() { return this.simulationTimeMillis; } /** ** The simulation job execution duration in milliseconds. *
* * @param simulationTimeMillis * The simulation job execution duration in milliseconds. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withSimulationTimeMillis(Long simulationTimeMillis) { setSimulationTimeMillis(simulationTimeMillis); return this; } /** ** The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated policies on * your behalf. *
* * @param iamRole * The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated * policies on your behalf. */ public void setIamRole(String iamRole) { this.iamRole = iamRole; } /** ** The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated policies on * your behalf. *
* * @return The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated * policies on your behalf. */ public String getIamRole() { return this.iamRole; } /** ** The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated policies on * your behalf. *
* * @param iamRole * The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated * policies on your behalf. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withIamRole(String iamRole) { setIamRole(iamRole); return this; } /** ** The robot application used by the simulation job. *
* * @return The robot application used by the simulation job. */ public java.util.List* The robot application used by the simulation job. *
* * @param robotApplications * The robot application used by the simulation job. */ public void setRobotApplications(java.util.Collection* The robot application used by the simulation job. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setRobotApplications(java.util.Collection)} or {@link #withRobotApplications(java.util.Collection)} if * you want to override the existing values. *
* * @param robotApplications * The robot application used by the simulation job. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withRobotApplications(RobotApplicationConfig... robotApplications) { if (this.robotApplications == null) { setRobotApplications(new java.util.ArrayList* The robot application used by the simulation job. *
* * @param robotApplications * The robot application used by the simulation job. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withRobotApplications(java.util.Collection* The simulation application used by the simulation job. *
* * @return The simulation application used by the simulation job. */ public java.util.List* The simulation application used by the simulation job. *
* * @param simulationApplications * The simulation application used by the simulation job. */ public void setSimulationApplications(java.util.Collection* The simulation application used by the simulation job. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSimulationApplications(java.util.Collection)} or * {@link #withSimulationApplications(java.util.Collection)} if you want to override the existing values. *
* * @param simulationApplications * The simulation application used by the simulation job. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withSimulationApplications(SimulationApplicationConfig... simulationApplications) { if (this.simulationApplications == null) { setSimulationApplications(new java.util.ArrayList* The simulation application used by the simulation job. *
* * @param simulationApplications * The simulation application used by the simulation job. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withSimulationApplications(java.util.Collection* The data sources for the simulation job. *
* * @return The data sources for the simulation job. */ public java.util.List* The data sources for the simulation job. *
* * @param dataSources * The data sources for the simulation job. */ public void setDataSources(java.util.Collection* The data sources for the simulation job. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDataSources(java.util.Collection)} or {@link #withDataSources(java.util.Collection)} if you want to * override the existing values. *
* * @param dataSources * The data sources for the simulation job. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withDataSources(DataSource... dataSources) { if (this.dataSources == null) { setDataSources(new java.util.ArrayList* The data sources for the simulation job. *
* * @param dataSources * The data sources for the simulation job. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withDataSources(java.util.Collection* The list of all tags added to the simulation job. *
* * @return The list of all tags added to the simulation job. */ public java.util.Map* The list of all tags added to the simulation job. *
* * @param tags * The list of all tags added to the simulation job. */ public void setTags(java.util.Map* The list of all tags added to the simulation job. *
* * @param tags * The list of all tags added to the simulation job. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withTags(java.util.Map* Information about the vpc configuration. *
* * @param vpcConfig * Information about the vpc configuration. */ public void setVpcConfig(VPCConfigResponse vpcConfig) { this.vpcConfig = vpcConfig; } /** ** Information about the vpc configuration. *
* * @return Information about the vpc configuration. */ public VPCConfigResponse getVpcConfig() { return this.vpcConfig; } /** ** Information about the vpc configuration. *
* * @param vpcConfig * Information about the vpc configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withVpcConfig(VPCConfigResponse vpcConfig) { setVpcConfig(vpcConfig); return this; } /** ** Compute information for the simulation job. *
* * @param compute * Compute information for the simulation job. */ public void setCompute(ComputeResponse compute) { this.compute = compute; } /** ** Compute information for the simulation job. *
* * @return Compute information for the simulation job. */ public ComputeResponse getCompute() { return this.compute; } /** ** Compute information for the simulation job. *
* * @param compute * Compute information for the simulation job. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSimulationJobResult withCompute(ComputeResponse compute) { setCompute(compute); 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 (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getLastStartedAt() != null) sb.append("LastStartedAt: ").append(getLastStartedAt()).append(","); if (getLastUpdatedAt() != null) sb.append("LastUpdatedAt: ").append(getLastUpdatedAt()).append(","); if (getFailureBehavior() != null) sb.append("FailureBehavior: ").append(getFailureBehavior()).append(","); if (getFailureCode() != null) sb.append("FailureCode: ").append(getFailureCode()).append(","); if (getClientRequestToken() != null) sb.append("ClientRequestToken: ").append(getClientRequestToken()).append(","); if (getOutputLocation() != null) sb.append("OutputLocation: ").append(getOutputLocation()).append(","); if (getLoggingConfig() != null) sb.append("LoggingConfig: ").append(getLoggingConfig()).append(","); if (getMaxJobDurationInSeconds() != null) sb.append("MaxJobDurationInSeconds: ").append(getMaxJobDurationInSeconds()).append(","); if (getSimulationTimeMillis() != null) sb.append("SimulationTimeMillis: ").append(getSimulationTimeMillis()).append(","); if (getIamRole() != null) sb.append("IamRole: ").append(getIamRole()).append(","); if (getRobotApplications() != null) sb.append("RobotApplications: ").append(getRobotApplications()).append(","); if (getSimulationApplications() != null) sb.append("SimulationApplications: ").append(getSimulationApplications()).append(","); if (getDataSources() != null) sb.append("DataSources: ").append(getDataSources()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getVpcConfig() != null) sb.append("VpcConfig: ").append(getVpcConfig()).append(","); if (getCompute() != null) sb.append("Compute: ").append(getCompute()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateSimulationJobResult == false) return false; CreateSimulationJobResult other = (CreateSimulationJobResult) obj; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == 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.getLastStartedAt() == null ^ this.getLastStartedAt() == null) return false; if (other.getLastStartedAt() != null && other.getLastStartedAt().equals(this.getLastStartedAt()) == false) return false; if (other.getLastUpdatedAt() == null ^ this.getLastUpdatedAt() == null) return false; if (other.getLastUpdatedAt() != null && other.getLastUpdatedAt().equals(this.getLastUpdatedAt()) == false) return false; if (other.getFailureBehavior() == null ^ this.getFailureBehavior() == null) return false; if (other.getFailureBehavior() != null && other.getFailureBehavior().equals(this.getFailureBehavior()) == 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.getClientRequestToken() == null ^ this.getClientRequestToken() == null) return false; if (other.getClientRequestToken() != null && other.getClientRequestToken().equals(this.getClientRequestToken()) == false) return false; if (other.getOutputLocation() == null ^ this.getOutputLocation() == null) return false; if (other.getOutputLocation() != null && other.getOutputLocation().equals(this.getOutputLocation()) == false) return false; if (other.getLoggingConfig() == null ^ this.getLoggingConfig() == null) return false; if (other.getLoggingConfig() != null && other.getLoggingConfig().equals(this.getLoggingConfig()) == false) return false; if (other.getMaxJobDurationInSeconds() == null ^ this.getMaxJobDurationInSeconds() == null) return false; if (other.getMaxJobDurationInSeconds() != null && other.getMaxJobDurationInSeconds().equals(this.getMaxJobDurationInSeconds()) == false) return false; if (other.getSimulationTimeMillis() == null ^ this.getSimulationTimeMillis() == null) return false; if (other.getSimulationTimeMillis() != null && other.getSimulationTimeMillis().equals(this.getSimulationTimeMillis()) == false) return false; if (other.getIamRole() == null ^ this.getIamRole() == null) return false; if (other.getIamRole() != null && other.getIamRole().equals(this.getIamRole()) == false) return false; if (other.getRobotApplications() == null ^ this.getRobotApplications() == null) return false; if (other.getRobotApplications() != null && other.getRobotApplications().equals(this.getRobotApplications()) == false) return false; if (other.getSimulationApplications() == null ^ this.getSimulationApplications() == null) return false; if (other.getSimulationApplications() != null && other.getSimulationApplications().equals(this.getSimulationApplications()) == false) return false; if (other.getDataSources() == null ^ this.getDataSources() == null) return false; if (other.getDataSources() != null && other.getDataSources().equals(this.getDataSources()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getVpcConfig() == null ^ this.getVpcConfig() == null) return false; if (other.getVpcConfig() != null && other.getVpcConfig().equals(this.getVpcConfig()) == false) return false; if (other.getCompute() == null ^ this.getCompute() == null) return false; if (other.getCompute() != null && other.getCompute().equals(this.getCompute()) == 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 + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getLastStartedAt() == null) ? 0 : getLastStartedAt().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedAt() == null) ? 0 : getLastUpdatedAt().hashCode()); hashCode = prime * hashCode + ((getFailureBehavior() == null) ? 0 : getFailureBehavior().hashCode()); hashCode = prime * hashCode + ((getFailureCode() == null) ? 0 : getFailureCode().hashCode()); hashCode = prime * hashCode + ((getClientRequestToken() == null) ? 0 : getClientRequestToken().hashCode()); hashCode = prime * hashCode + ((getOutputLocation() == null) ? 0 : getOutputLocation().hashCode()); hashCode = prime * hashCode + ((getLoggingConfig() == null) ? 0 : getLoggingConfig().hashCode()); hashCode = prime * hashCode + ((getMaxJobDurationInSeconds() == null) ? 0 : getMaxJobDurationInSeconds().hashCode()); hashCode = prime * hashCode + ((getSimulationTimeMillis() == null) ? 0 : getSimulationTimeMillis().hashCode()); hashCode = prime * hashCode + ((getIamRole() == null) ? 0 : getIamRole().hashCode()); hashCode = prime * hashCode + ((getRobotApplications() == null) ? 0 : getRobotApplications().hashCode()); hashCode = prime * hashCode + ((getSimulationApplications() == null) ? 0 : getSimulationApplications().hashCode()); hashCode = prime * hashCode + ((getDataSources() == null) ? 0 : getDataSources().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getVpcConfig() == null) ? 0 : getVpcConfig().hashCode()); hashCode = prime * hashCode + ((getCompute() == null) ? 0 : getCompute().hashCode()); return hashCode; } @Override public CreateSimulationJobResult clone() { try { return (CreateSimulationJobResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }