All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.sagemaker.model.DescribeCompilationJobResult Maven / Gradle / Ivy

/*
 * Copyright 2019-2024 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.sagemaker.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 * 
 * @see AWS
 *      API Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeCompilationJobResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {

    /**
     * 

* The name of the model compilation job. *

*/ private String compilationJobName; /** *

* The Amazon Resource Name (ARN) of the model compilation job. *

*/ private String compilationJobArn; /** *

* The status of the model compilation job. *

*/ private String compilationJobStatus; /** *

* The time when the model compilation job started the CompilationJob instances. *

*

* You are billed for the time between this timestamp and the timestamp in the CompilationEndTime * field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to * download the compilation job, which depends on the size of the compilation job container. *

*/ private java.util.Date compilationStartTime; /** *

* The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, * this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker * detected that the job failed. *

*/ private java.util.Date compilationEndTime; /** *

* Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon * SageMaker ends the compilation job. Use this API to cap model training costs. *

*/ private StoppingCondition stoppingCondition; /** *

* The inference image to use when compiling a model. Specify an image only if the target device is a cloud * instance. *

*/ private String inferenceImage; /** *

* The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you * initiated a compilation job. *

*/ private String modelPackageVersionArn; /** *

* The time that the model compilation job was created. *

*/ private java.util.Date creationTime; /** *

* The time that the status of the model compilation job was last modified. *

*/ private java.util.Date lastModifiedTime; /** *

* If a model compilation job failed, the reason it failed. *

*/ private String failureReason; /** *

* Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the * compilation job. *

*/ private ModelArtifacts modelArtifacts; /** *

* Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3. *

*/ private ModelDigests modelDigests; /** *

* The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job. *

*/ private String roleArn; /** *

* Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data * inputs, and the framework in which the model was trained. *

*/ private InputConfig inputConfig; /** *

* Information about the output location for the compiled model and the target device that the model runs on. *

*/ private OutputConfig outputConfig; /** *

* A VpcConfig object * that specifies the VPC that you want your compilation job to connect to. Control access to your models by * configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon * Virtual Private Cloud. *

*/ private NeoVpcConfig vpcConfig; /** *

* Information that SageMaker Neo automatically derived about the model. *

*/ private DerivedInformation derivedInformation; /** *

* The name of the model compilation job. *

* * @param compilationJobName * The name of the model compilation job. */ public void setCompilationJobName(String compilationJobName) { this.compilationJobName = compilationJobName; } /** *

* The name of the model compilation job. *

* * @return The name of the model compilation job. */ public String getCompilationJobName() { return this.compilationJobName; } /** *

* The name of the model compilation job. *

* * @param compilationJobName * The name of the model compilation job. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withCompilationJobName(String compilationJobName) { setCompilationJobName(compilationJobName); return this; } /** *

* The Amazon Resource Name (ARN) of the model compilation job. *

* * @param compilationJobArn * The Amazon Resource Name (ARN) of the model compilation job. */ public void setCompilationJobArn(String compilationJobArn) { this.compilationJobArn = compilationJobArn; } /** *

* The Amazon Resource Name (ARN) of the model compilation job. *

* * @return The Amazon Resource Name (ARN) of the model compilation job. */ public String getCompilationJobArn() { return this.compilationJobArn; } /** *

* The Amazon Resource Name (ARN) of the model compilation job. *

* * @param compilationJobArn * The Amazon Resource Name (ARN) of the model compilation job. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withCompilationJobArn(String compilationJobArn) { setCompilationJobArn(compilationJobArn); return this; } /** *

* The status of the model compilation job. *

* * @param compilationJobStatus * The status of the model compilation job. * @see CompilationJobStatus */ public void setCompilationJobStatus(String compilationJobStatus) { this.compilationJobStatus = compilationJobStatus; } /** *

* The status of the model compilation job. *

* * @return The status of the model compilation job. * @see CompilationJobStatus */ public String getCompilationJobStatus() { return this.compilationJobStatus; } /** *

* The status of the model compilation job. *

* * @param compilationJobStatus * The status of the model compilation job. * @return Returns a reference to this object so that method calls can be chained together. * @see CompilationJobStatus */ public DescribeCompilationJobResult withCompilationJobStatus(String compilationJobStatus) { setCompilationJobStatus(compilationJobStatus); return this; } /** *

* The status of the model compilation job. *

* * @param compilationJobStatus * The status of the model compilation job. * @return Returns a reference to this object so that method calls can be chained together. * @see CompilationJobStatus */ public DescribeCompilationJobResult withCompilationJobStatus(CompilationJobStatus compilationJobStatus) { this.compilationJobStatus = compilationJobStatus.toString(); return this; } /** *

* The time when the model compilation job started the CompilationJob instances. *

*

* You are billed for the time between this timestamp and the timestamp in the CompilationEndTime * field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to * download the compilation job, which depends on the size of the compilation job container. *

* * @param compilationStartTime * The time when the model compilation job started the CompilationJob instances.

*

* You are billed for the time between this timestamp and the timestamp in the * CompilationEndTime field. In Amazon CloudWatch Logs, the start time might be later than this * time. That's because it takes time to download the compilation job, which depends on the size of the * compilation job container. */ public void setCompilationStartTime(java.util.Date compilationStartTime) { this.compilationStartTime = compilationStartTime; } /** *

* The time when the model compilation job started the CompilationJob instances. *

*

* You are billed for the time between this timestamp and the timestamp in the CompilationEndTime * field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to * download the compilation job, which depends on the size of the compilation job container. *

* * @return The time when the model compilation job started the CompilationJob instances.

*

* You are billed for the time between this timestamp and the timestamp in the * CompilationEndTime field. In Amazon CloudWatch Logs, the start time might be later than this * time. That's because it takes time to download the compilation job, which depends on the size of the * compilation job container. */ public java.util.Date getCompilationStartTime() { return this.compilationStartTime; } /** *

* The time when the model compilation job started the CompilationJob instances. *

*

* You are billed for the time between this timestamp and the timestamp in the CompilationEndTime * field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to * download the compilation job, which depends on the size of the compilation job container. *

* * @param compilationStartTime * The time when the model compilation job started the CompilationJob instances.

*

* You are billed for the time between this timestamp and the timestamp in the * CompilationEndTime field. In Amazon CloudWatch Logs, the start time might be later than this * time. That's because it takes time to download the compilation job, which depends on the size of the * compilation job container. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withCompilationStartTime(java.util.Date compilationStartTime) { setCompilationStartTime(compilationStartTime); return this; } /** *

* The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, * this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker * detected that the job failed. *

* * @param compilationEndTime * The time when the model compilation job on a compilation job instance ended. For a successful or stopped * job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon * SageMaker detected that the job failed. */ public void setCompilationEndTime(java.util.Date compilationEndTime) { this.compilationEndTime = compilationEndTime; } /** *

* The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, * this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker * detected that the job failed. *

* * @return The time when the model compilation job on a compilation job instance ended. For a successful or stopped * job, this is when the job's model artifacts have finished uploading. For a failed job, this is when * Amazon SageMaker detected that the job failed. */ public java.util.Date getCompilationEndTime() { return this.compilationEndTime; } /** *

* The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, * this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker * detected that the job failed. *

* * @param compilationEndTime * The time when the model compilation job on a compilation job instance ended. For a successful or stopped * job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon * SageMaker detected that the job failed. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withCompilationEndTime(java.util.Date compilationEndTime) { setCompilationEndTime(compilationEndTime); return this; } /** *

* Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon * SageMaker ends the compilation job. Use this API to cap model training costs. *

* * @param stoppingCondition * Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon * SageMaker ends the compilation job. Use this API to cap model training costs. */ public void setStoppingCondition(StoppingCondition stoppingCondition) { this.stoppingCondition = stoppingCondition; } /** *

* Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon * SageMaker ends the compilation job. Use this API to cap model training costs. *

* * @return Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, * Amazon SageMaker ends the compilation job. Use this API to cap model training costs. */ public StoppingCondition getStoppingCondition() { return this.stoppingCondition; } /** *

* Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon * SageMaker ends the compilation job. Use this API to cap model training costs. *

* * @param stoppingCondition * Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon * SageMaker ends the compilation job. Use this API to cap model training costs. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withStoppingCondition(StoppingCondition stoppingCondition) { setStoppingCondition(stoppingCondition); return this; } /** *

* The inference image to use when compiling a model. Specify an image only if the target device is a cloud * instance. *

* * @param inferenceImage * The inference image to use when compiling a model. Specify an image only if the target device is a cloud * instance. */ public void setInferenceImage(String inferenceImage) { this.inferenceImage = inferenceImage; } /** *

* The inference image to use when compiling a model. Specify an image only if the target device is a cloud * instance. *

* * @return The inference image to use when compiling a model. Specify an image only if the target device is a cloud * instance. */ public String getInferenceImage() { return this.inferenceImage; } /** *

* The inference image to use when compiling a model. Specify an image only if the target device is a cloud * instance. *

* * @param inferenceImage * The inference image to use when compiling a model. Specify an image only if the target device is a cloud * instance. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withInferenceImage(String inferenceImage) { setInferenceImage(inferenceImage); return this; } /** *

* The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you * initiated a compilation job. *

* * @param modelPackageVersionArn * The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you * initiated a compilation job. */ public void setModelPackageVersionArn(String modelPackageVersionArn) { this.modelPackageVersionArn = modelPackageVersionArn; } /** *

* The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you * initiated a compilation job. *

* * @return The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you * initiated a compilation job. */ public String getModelPackageVersionArn() { return this.modelPackageVersionArn; } /** *

* The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you * initiated a compilation job. *

* * @param modelPackageVersionArn * The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you * initiated a compilation job. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withModelPackageVersionArn(String modelPackageVersionArn) { setModelPackageVersionArn(modelPackageVersionArn); return this; } /** *

* The time that the model compilation job was created. *

* * @param creationTime * The time that the model compilation job was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

* The time that the model compilation job was created. *

* * @return The time that the model compilation job was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

* The time that the model compilation job was created. *

* * @param creationTime * The time that the model compilation job was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** *

* The time that the status of the model compilation job was last modified. *

* * @param lastModifiedTime * The time that the status of the model compilation job was last modified. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** *

* The time that the status of the model compilation job was last modified. *

* * @return The time that the status of the model compilation job was last modified. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** *

* The time that the status of the model compilation job was last modified. *

* * @param lastModifiedTime * The time that the status of the model compilation job was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** *

* If a model compilation job failed, the reason it failed. *

* * @param failureReason * If a model compilation job failed, the reason it failed. */ public void setFailureReason(String failureReason) { this.failureReason = failureReason; } /** *

* If a model compilation job failed, the reason it failed. *

* * @return If a model compilation job failed, the reason it failed. */ public String getFailureReason() { return this.failureReason; } /** *

* If a model compilation job failed, the reason it failed. *

* * @param failureReason * If a model compilation job failed, the reason it failed. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withFailureReason(String failureReason) { setFailureReason(failureReason); return this; } /** *

* Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the * compilation job. *

* * @param modelArtifacts * Information about the location in Amazon S3 that has been configured for storing the model artifacts used * in the compilation job. */ public void setModelArtifacts(ModelArtifacts modelArtifacts) { this.modelArtifacts = modelArtifacts; } /** *

* Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the * compilation job. *

* * @return Information about the location in Amazon S3 that has been configured for storing the model artifacts used * in the compilation job. */ public ModelArtifacts getModelArtifacts() { return this.modelArtifacts; } /** *

* Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the * compilation job. *

* * @param modelArtifacts * Information about the location in Amazon S3 that has been configured for storing the model artifacts used * in the compilation job. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withModelArtifacts(ModelArtifacts modelArtifacts) { setModelArtifacts(modelArtifacts); return this; } /** *

* Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3. *

* * @param modelDigests * Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3. */ public void setModelDigests(ModelDigests modelDigests) { this.modelDigests = modelDigests; } /** *

* Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3. *

* * @return Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3. */ public ModelDigests getModelDigests() { return this.modelDigests; } /** *

* Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3. *

* * @param modelDigests * Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withModelDigests(ModelDigests modelDigests) { setModelDigests(modelDigests); return this; } /** *

* The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job. *

* * @param roleArn * The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model * compilation job. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** *

* The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job. *

* * @return The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model * compilation job. */ public String getRoleArn() { return this.roleArn; } /** *

* The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job. *

* * @param roleArn * The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model * compilation job. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** *

* Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data * inputs, and the framework in which the model was trained. *

* * @param inputConfig * Information about the location in Amazon S3 of the input model artifacts, the name and shape of the * expected data inputs, and the framework in which the model was trained. */ public void setInputConfig(InputConfig inputConfig) { this.inputConfig = inputConfig; } /** *

* Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data * inputs, and the framework in which the model was trained. *

* * @return Information about the location in Amazon S3 of the input model artifacts, the name and shape of the * expected data inputs, and the framework in which the model was trained. */ public InputConfig getInputConfig() { return this.inputConfig; } /** *

* Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data * inputs, and the framework in which the model was trained. *

* * @param inputConfig * Information about the location in Amazon S3 of the input model artifacts, the name and shape of the * expected data inputs, and the framework in which the model was trained. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withInputConfig(InputConfig inputConfig) { setInputConfig(inputConfig); return this; } /** *

* Information about the output location for the compiled model and the target device that the model runs on. *

* * @param outputConfig * Information about the output location for the compiled model and the target device that the model runs on. */ public void setOutputConfig(OutputConfig outputConfig) { this.outputConfig = outputConfig; } /** *

* Information about the output location for the compiled model and the target device that the model runs on. *

* * @return Information about the output location for the compiled model and the target device that the model runs * on. */ public OutputConfig getOutputConfig() { return this.outputConfig; } /** *

* Information about the output location for the compiled model and the target device that the model runs on. *

* * @param outputConfig * Information about the output location for the compiled model and the target device that the model runs on. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withOutputConfig(OutputConfig outputConfig) { setOutputConfig(outputConfig); return this; } /** *

* A VpcConfig object * that specifies the VPC that you want your compilation job to connect to. Control access to your models by * configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon * Virtual Private Cloud. *

* * @param vpcConfig * A VpcConfig * object that specifies the VPC that you want your compilation job to connect to. Control access to your * models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an * Amazon Virtual Private Cloud. */ public void setVpcConfig(NeoVpcConfig vpcConfig) { this.vpcConfig = vpcConfig; } /** *

* A VpcConfig object * that specifies the VPC that you want your compilation job to connect to. Control access to your models by * configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon * Virtual Private Cloud. *

* * @return A VpcConfig * object that specifies the VPC that you want your compilation job to connect to. Control access to your * models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an * Amazon Virtual Private Cloud. */ public NeoVpcConfig getVpcConfig() { return this.vpcConfig; } /** *

* A VpcConfig object * that specifies the VPC that you want your compilation job to connect to. Control access to your models by * configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon * Virtual Private Cloud. *

* * @param vpcConfig * A VpcConfig * object that specifies the VPC that you want your compilation job to connect to. Control access to your * models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an * Amazon Virtual Private Cloud. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withVpcConfig(NeoVpcConfig vpcConfig) { setVpcConfig(vpcConfig); return this; } /** *

* Information that SageMaker Neo automatically derived about the model. *

* * @param derivedInformation * Information that SageMaker Neo automatically derived about the model. */ public void setDerivedInformation(DerivedInformation derivedInformation) { this.derivedInformation = derivedInformation; } /** *

* Information that SageMaker Neo automatically derived about the model. *

* * @return Information that SageMaker Neo automatically derived about the model. */ public DerivedInformation getDerivedInformation() { return this.derivedInformation; } /** *

* Information that SageMaker Neo automatically derived about the model. *

* * @param derivedInformation * Information that SageMaker Neo automatically derived about the model. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeCompilationJobResult withDerivedInformation(DerivedInformation derivedInformation) { setDerivedInformation(derivedInformation); 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 (getCompilationJobName() != null) sb.append("CompilationJobName: ").append(getCompilationJobName()).append(","); if (getCompilationJobArn() != null) sb.append("CompilationJobArn: ").append(getCompilationJobArn()).append(","); if (getCompilationJobStatus() != null) sb.append("CompilationJobStatus: ").append(getCompilationJobStatus()).append(","); if (getCompilationStartTime() != null) sb.append("CompilationStartTime: ").append(getCompilationStartTime()).append(","); if (getCompilationEndTime() != null) sb.append("CompilationEndTime: ").append(getCompilationEndTime()).append(","); if (getStoppingCondition() != null) sb.append("StoppingCondition: ").append(getStoppingCondition()).append(","); if (getInferenceImage() != null) sb.append("InferenceImage: ").append(getInferenceImage()).append(","); if (getModelPackageVersionArn() != null) sb.append("ModelPackageVersionArn: ").append(getModelPackageVersionArn()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastModifiedTime() != null) sb.append("LastModifiedTime: ").append(getLastModifiedTime()).append(","); if (getFailureReason() != null) sb.append("FailureReason: ").append(getFailureReason()).append(","); if (getModelArtifacts() != null) sb.append("ModelArtifacts: ").append(getModelArtifacts()).append(","); if (getModelDigests() != null) sb.append("ModelDigests: ").append(getModelDigests()).append(","); if (getRoleArn() != null) sb.append("RoleArn: ").append(getRoleArn()).append(","); if (getInputConfig() != null) sb.append("InputConfig: ").append(getInputConfig()).append(","); if (getOutputConfig() != null) sb.append("OutputConfig: ").append(getOutputConfig()).append(","); if (getVpcConfig() != null) sb.append("VpcConfig: ").append(getVpcConfig()).append(","); if (getDerivedInformation() != null) sb.append("DerivedInformation: ").append(getDerivedInformation()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeCompilationJobResult == false) return false; DescribeCompilationJobResult other = (DescribeCompilationJobResult) obj; if (other.getCompilationJobName() == null ^ this.getCompilationJobName() == null) return false; if (other.getCompilationJobName() != null && other.getCompilationJobName().equals(this.getCompilationJobName()) == false) return false; if (other.getCompilationJobArn() == null ^ this.getCompilationJobArn() == null) return false; if (other.getCompilationJobArn() != null && other.getCompilationJobArn().equals(this.getCompilationJobArn()) == false) return false; if (other.getCompilationJobStatus() == null ^ this.getCompilationJobStatus() == null) return false; if (other.getCompilationJobStatus() != null && other.getCompilationJobStatus().equals(this.getCompilationJobStatus()) == false) return false; if (other.getCompilationStartTime() == null ^ this.getCompilationStartTime() == null) return false; if (other.getCompilationStartTime() != null && other.getCompilationStartTime().equals(this.getCompilationStartTime()) == false) return false; if (other.getCompilationEndTime() == null ^ this.getCompilationEndTime() == null) return false; if (other.getCompilationEndTime() != null && other.getCompilationEndTime().equals(this.getCompilationEndTime()) == false) return false; if (other.getStoppingCondition() == null ^ this.getStoppingCondition() == null) return false; if (other.getStoppingCondition() != null && other.getStoppingCondition().equals(this.getStoppingCondition()) == false) return false; if (other.getInferenceImage() == null ^ this.getInferenceImage() == null) return false; if (other.getInferenceImage() != null && other.getInferenceImage().equals(this.getInferenceImage()) == false) return false; if (other.getModelPackageVersionArn() == null ^ this.getModelPackageVersionArn() == null) return false; if (other.getModelPackageVersionArn() != null && other.getModelPackageVersionArn().equals(this.getModelPackageVersionArn()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLastModifiedTime() == null ^ this.getLastModifiedTime() == null) return false; if (other.getLastModifiedTime() != null && other.getLastModifiedTime().equals(this.getLastModifiedTime()) == 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.getModelArtifacts() == null ^ this.getModelArtifacts() == null) return false; if (other.getModelArtifacts() != null && other.getModelArtifacts().equals(this.getModelArtifacts()) == false) return false; if (other.getModelDigests() == null ^ this.getModelDigests() == null) return false; if (other.getModelDigests() != null && other.getModelDigests().equals(this.getModelDigests()) == false) return false; if (other.getRoleArn() == null ^ this.getRoleArn() == null) return false; if (other.getRoleArn() != null && other.getRoleArn().equals(this.getRoleArn()) == false) return false; if (other.getInputConfig() == null ^ this.getInputConfig() == null) return false; if (other.getInputConfig() != null && other.getInputConfig().equals(this.getInputConfig()) == false) return false; if (other.getOutputConfig() == null ^ this.getOutputConfig() == null) return false; if (other.getOutputConfig() != null && other.getOutputConfig().equals(this.getOutputConfig()) == 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.getDerivedInformation() == null ^ this.getDerivedInformation() == null) return false; if (other.getDerivedInformation() != null && other.getDerivedInformation().equals(this.getDerivedInformation()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCompilationJobName() == null) ? 0 : getCompilationJobName().hashCode()); hashCode = prime * hashCode + ((getCompilationJobArn() == null) ? 0 : getCompilationJobArn().hashCode()); hashCode = prime * hashCode + ((getCompilationJobStatus() == null) ? 0 : getCompilationJobStatus().hashCode()); hashCode = prime * hashCode + ((getCompilationStartTime() == null) ? 0 : getCompilationStartTime().hashCode()); hashCode = prime * hashCode + ((getCompilationEndTime() == null) ? 0 : getCompilationEndTime().hashCode()); hashCode = prime * hashCode + ((getStoppingCondition() == null) ? 0 : getStoppingCondition().hashCode()); hashCode = prime * hashCode + ((getInferenceImage() == null) ? 0 : getInferenceImage().hashCode()); hashCode = prime * hashCode + ((getModelPackageVersionArn() == null) ? 0 : getModelPackageVersionArn().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastModifiedTime() == null) ? 0 : getLastModifiedTime().hashCode()); hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); hashCode = prime * hashCode + ((getModelArtifacts() == null) ? 0 : getModelArtifacts().hashCode()); hashCode = prime * hashCode + ((getModelDigests() == null) ? 0 : getModelDigests().hashCode()); hashCode = prime * hashCode + ((getRoleArn() == null) ? 0 : getRoleArn().hashCode()); hashCode = prime * hashCode + ((getInputConfig() == null) ? 0 : getInputConfig().hashCode()); hashCode = prime * hashCode + ((getOutputConfig() == null) ? 0 : getOutputConfig().hashCode()); hashCode = prime * hashCode + ((getVpcConfig() == null) ? 0 : getVpcConfig().hashCode()); hashCode = prime * hashCode + ((getDerivedInformation() == null) ? 0 : getDerivedInformation().hashCode()); return hashCode; } @Override public DescribeCompilationJobResult clone() { try { return (DescribeCompilationJobResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy