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

com.amazonaws.services.comprehend.model.DocumentClassificationJobProperties Maven / Gradle / Ivy

/*
 * Copyright 2017-2022 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.comprehend.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Provides information about a document classification job. *

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

* The identifier assigned to the document classification job. *

*/ private String jobId; /** *

* The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for * the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows: *

*

* arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id> *

*

* The following is an example job ARN: *

*

* arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab *

*/ private String jobArn; /** *

* The name that you assigned to the document classification job. *

*/ private String jobName; /** *

* The current status of the document classification job. If the status is FAILED, the * Message field shows the reason for the failure. *

*/ private String jobStatus; /** *

* A description of the status of the job. *

*/ private String message; /** *

* The time that the document classification job was submitted for processing. *

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

* The time that the document classification job completed. *

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

* The Amazon Resource Name (ARN) that identifies the document classifier. *

*/ private String documentClassifierArn; /** *

* The input data configuration that you supplied when you created the document classification job. *

*/ private InputDataConfig inputDataConfig; /** *

* The output data configuration that you supplied when you created the document classification job. *

*/ private OutputDataConfig outputDataConfig; /** *

* The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend * read access to your input data. *

*/ private String dataAccessRoleArn; /** *

* ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume * attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the * following formats: *

*
    *
  • *

    * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" *

    *
  • *
  • *

    * Amazon Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

    *
  • *
*/ private String volumeKmsKeyId; /** *

* Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for * your document classification job. For more information, see Amazon VPC. *

*/ private VpcConfig vpcConfig; /** *

* The identifier assigned to the document classification job. *

* * @param jobId * The identifier assigned to the document classification job. */ public void setJobId(String jobId) { this.jobId = jobId; } /** *

* The identifier assigned to the document classification job. *

* * @return The identifier assigned to the document classification job. */ public String getJobId() { return this.jobId; } /** *

* The identifier assigned to the document classification job. *

* * @param jobId * The identifier assigned to the document classification job. * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withJobId(String jobId) { setJobId(jobId); return this; } /** *

* The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for * the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows: *

*

* arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id> *

*

* The following is an example job ARN: *

*

* arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab *

* * @param jobArn * The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified * identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as * follows:

*

* arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id> *

*

* The following is an example job ARN: *

*

* arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab */ public void setJobArn(String jobArn) { this.jobArn = jobArn; } /** *

* The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for * the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows: *

*

* arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id> *

*

* The following is an example job ARN: *

*

* arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab *

* * @return The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified * identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as * follows:

*

* arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id> *

*

* The following is an example job ARN: *

*

* arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab */ public String getJobArn() { return this.jobArn; } /** *

* The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for * the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows: *

*

* arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id> *

*

* The following is an example job ARN: *

*

* arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab *

* * @param jobArn * The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified * identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as * follows:

*

* arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id> *

*

* The following is an example job ARN: *

*

* arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withJobArn(String jobArn) { setJobArn(jobArn); return this; } /** *

* The name that you assigned to the document classification job. *

* * @param jobName * The name that you assigned to the document classification job. */ public void setJobName(String jobName) { this.jobName = jobName; } /** *

* The name that you assigned to the document classification job. *

* * @return The name that you assigned to the document classification job. */ public String getJobName() { return this.jobName; } /** *

* The name that you assigned to the document classification job. *

* * @param jobName * The name that you assigned to the document classification job. * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withJobName(String jobName) { setJobName(jobName); return this; } /** *

* The current status of the document classification job. If the status is FAILED, the * Message field shows the reason for the failure. *

* * @param jobStatus * The current status of the document classification job. If the status is FAILED, the * Message field shows the reason for the failure. * @see JobStatus */ public void setJobStatus(String jobStatus) { this.jobStatus = jobStatus; } /** *

* The current status of the document classification job. If the status is FAILED, the * Message field shows the reason for the failure. *

* * @return The current status of the document classification job. If the status is FAILED, the * Message field shows the reason for the failure. * @see JobStatus */ public String getJobStatus() { return this.jobStatus; } /** *

* The current status of the document classification job. If the status is FAILED, the * Message field shows the reason for the failure. *

* * @param jobStatus * The current status of the document classification job. If the status is FAILED, the * Message field shows the reason for the failure. * @return Returns a reference to this object so that method calls can be chained together. * @see JobStatus */ public DocumentClassificationJobProperties withJobStatus(String jobStatus) { setJobStatus(jobStatus); return this; } /** *

* The current status of the document classification job. If the status is FAILED, the * Message field shows the reason for the failure. *

* * @param jobStatus * The current status of the document classification job. If the status is FAILED, the * Message field shows the reason for the failure. * @return Returns a reference to this object so that method calls can be chained together. * @see JobStatus */ public DocumentClassificationJobProperties withJobStatus(JobStatus jobStatus) { this.jobStatus = jobStatus.toString(); return this; } /** *

* A description of the status of the job. *

* * @param message * A description of the status of the job. */ public void setMessage(String message) { this.message = message; } /** *

* A description of the status of the job. *

* * @return A description of the status of the job. */ public String getMessage() { return this.message; } /** *

* A description of the status of the job. *

* * @param message * A description of the status of the job. * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withMessage(String message) { setMessage(message); return this; } /** *

* The time that the document classification job was submitted for processing. *

* * @param submitTime * The time that the document classification job was submitted for processing. */ public void setSubmitTime(java.util.Date submitTime) { this.submitTime = submitTime; } /** *

* The time that the document classification job was submitted for processing. *

* * @return The time that the document classification job was submitted for processing. */ public java.util.Date getSubmitTime() { return this.submitTime; } /** *

* The time that the document classification job was submitted for processing. *

* * @param submitTime * The time that the document classification job was submitted for processing. * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withSubmitTime(java.util.Date submitTime) { setSubmitTime(submitTime); return this; } /** *

* The time that the document classification job completed. *

* * @param endTime * The time that the document classification job completed. */ public void setEndTime(java.util.Date endTime) { this.endTime = endTime; } /** *

* The time that the document classification job completed. *

* * @return The time that the document classification job completed. */ public java.util.Date getEndTime() { return this.endTime; } /** *

* The time that the document classification job completed. *

* * @param endTime * The time that the document classification job completed. * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withEndTime(java.util.Date endTime) { setEndTime(endTime); return this; } /** *

* The Amazon Resource Name (ARN) that identifies the document classifier. *

* * @param documentClassifierArn * The Amazon Resource Name (ARN) that identifies the document classifier. */ public void setDocumentClassifierArn(String documentClassifierArn) { this.documentClassifierArn = documentClassifierArn; } /** *

* The Amazon Resource Name (ARN) that identifies the document classifier. *

* * @return The Amazon Resource Name (ARN) that identifies the document classifier. */ public String getDocumentClassifierArn() { return this.documentClassifierArn; } /** *

* The Amazon Resource Name (ARN) that identifies the document classifier. *

* * @param documentClassifierArn * The Amazon Resource Name (ARN) that identifies the document classifier. * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withDocumentClassifierArn(String documentClassifierArn) { setDocumentClassifierArn(documentClassifierArn); return this; } /** *

* The input data configuration that you supplied when you created the document classification job. *

* * @param inputDataConfig * The input data configuration that you supplied when you created the document classification job. */ public void setInputDataConfig(InputDataConfig inputDataConfig) { this.inputDataConfig = inputDataConfig; } /** *

* The input data configuration that you supplied when you created the document classification job. *

* * @return The input data configuration that you supplied when you created the document classification job. */ public InputDataConfig getInputDataConfig() { return this.inputDataConfig; } /** *

* The input data configuration that you supplied when you created the document classification job. *

* * @param inputDataConfig * The input data configuration that you supplied when you created the document classification job. * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withInputDataConfig(InputDataConfig inputDataConfig) { setInputDataConfig(inputDataConfig); return this; } /** *

* The output data configuration that you supplied when you created the document classification job. *

* * @param outputDataConfig * The output data configuration that you supplied when you created the document classification job. */ public void setOutputDataConfig(OutputDataConfig outputDataConfig) { this.outputDataConfig = outputDataConfig; } /** *

* The output data configuration that you supplied when you created the document classification job. *

* * @return The output data configuration that you supplied when you created the document classification job. */ public OutputDataConfig getOutputDataConfig() { return this.outputDataConfig; } /** *

* The output data configuration that you supplied when you created the document classification job. *

* * @param outputDataConfig * The output data configuration that you supplied when you created the document classification job. * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withOutputDataConfig(OutputDataConfig outputDataConfig) { setOutputDataConfig(outputDataConfig); return this; } /** *

* The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend * read access to your input data. *

* * @param dataAccessRoleArn * The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon * Comprehend read access to your input data. */ public void setDataAccessRoleArn(String dataAccessRoleArn) { this.dataAccessRoleArn = dataAccessRoleArn; } /** *

* The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend * read access to your input data. *

* * @return The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon * Comprehend read access to your input data. */ public String getDataAccessRoleArn() { return this.dataAccessRoleArn; } /** *

* The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend * read access to your input data. *

* * @param dataAccessRoleArn * The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon * Comprehend read access to your input data. * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withDataAccessRoleArn(String dataAccessRoleArn) { setDataAccessRoleArn(dataAccessRoleArn); return this; } /** *

* ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume * attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the * following formats: *

*
    *
  • *

    * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" *

    *
  • *
  • *

    * Amazon Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

    *
  • *
* * @param volumeKmsKeyId * ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage * volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be * either of the following formats:

*
    *
  • *

    * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" *

    *
  • *
  • *

    * Amazon Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

    *
  • */ public void setVolumeKmsKeyId(String volumeKmsKeyId) { this.volumeKmsKeyId = volumeKmsKeyId; } /** *

    * ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume * attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the * following formats: *

    *
      *
    • *

      * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" *

      *
    • *
    • *

      * Amazon Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

      *
    • *
    * * @return ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the * storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId * can be either of the following formats:

    *
      *
    • *

      * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" *

      *
    • *
    • *

      * Amazon Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

      *
    • */ public String getVolumeKmsKeyId() { return this.volumeKmsKeyId; } /** *

      * ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume * attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the * following formats: *

      *
        *
      • *

        * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" *

        *
      • *
      • *

        * Amazon Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

        *
      • *
      * * @param volumeKmsKeyId * ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage * volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be * either of the following formats:

      *
        *
      • *

        * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" *

        *
      • *
      • *

        * Amazon Resource Name (ARN) of a KMS Key: * "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withVolumeKmsKeyId(String volumeKmsKeyId) { setVolumeKmsKeyId(volumeKmsKeyId); return this; } /** *

        * Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for * your document classification job. For more information, see Amazon VPC. *

        * * @param vpcConfig * Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using * for your document classification job. For more information, see Amazon VPC. */ public void setVpcConfig(VpcConfig vpcConfig) { this.vpcConfig = vpcConfig; } /** *

        * Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for * your document classification job. For more information, see Amazon VPC. *

        * * @return Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using * for your document classification job. For more information, see Amazon VPC. */ public VpcConfig getVpcConfig() { return this.vpcConfig; } /** *

        * Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for * your document classification job. For more information, see Amazon VPC. *

        * * @param vpcConfig * Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using * for your document classification job. For more information, see Amazon VPC. * @return Returns a reference to this object so that method calls can be chained together. */ public DocumentClassificationJobProperties withVpcConfig(VpcConfig vpcConfig) { setVpcConfig(vpcConfig); 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 (getJobId() != null) sb.append("JobId: ").append(getJobId()).append(","); if (getJobArn() != null) sb.append("JobArn: ").append(getJobArn()).append(","); if (getJobName() != null) sb.append("JobName: ").append(getJobName()).append(","); if (getJobStatus() != null) sb.append("JobStatus: ").append(getJobStatus()).append(","); if (getMessage() != null) sb.append("Message: ").append(getMessage()).append(","); if (getSubmitTime() != null) sb.append("SubmitTime: ").append(getSubmitTime()).append(","); if (getEndTime() != null) sb.append("EndTime: ").append(getEndTime()).append(","); if (getDocumentClassifierArn() != null) sb.append("DocumentClassifierArn: ").append(getDocumentClassifierArn()).append(","); if (getInputDataConfig() != null) sb.append("InputDataConfig: ").append(getInputDataConfig()).append(","); if (getOutputDataConfig() != null) sb.append("OutputDataConfig: ").append(getOutputDataConfig()).append(","); if (getDataAccessRoleArn() != null) sb.append("DataAccessRoleArn: ").append(getDataAccessRoleArn()).append(","); if (getVolumeKmsKeyId() != null) sb.append("VolumeKmsKeyId: ").append(getVolumeKmsKeyId()).append(","); if (getVpcConfig() != null) sb.append("VpcConfig: ").append(getVpcConfig()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DocumentClassificationJobProperties == false) return false; DocumentClassificationJobProperties other = (DocumentClassificationJobProperties) obj; if (other.getJobId() == null ^ this.getJobId() == null) return false; if (other.getJobId() != null && other.getJobId().equals(this.getJobId()) == false) return false; if (other.getJobArn() == null ^ this.getJobArn() == null) return false; if (other.getJobArn() != null && other.getJobArn().equals(this.getJobArn()) == false) return false; if (other.getJobName() == null ^ this.getJobName() == null) return false; if (other.getJobName() != null && other.getJobName().equals(this.getJobName()) == false) return false; if (other.getJobStatus() == null ^ this.getJobStatus() == null) return false; if (other.getJobStatus() != null && other.getJobStatus().equals(this.getJobStatus()) == false) return false; if (other.getMessage() == null ^ this.getMessage() == null) return false; if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == false) return false; if (other.getSubmitTime() == null ^ this.getSubmitTime() == null) return false; if (other.getSubmitTime() != null && other.getSubmitTime().equals(this.getSubmitTime()) == false) return false; if (other.getEndTime() == null ^ this.getEndTime() == null) return false; if (other.getEndTime() != null && other.getEndTime().equals(this.getEndTime()) == false) return false; if (other.getDocumentClassifierArn() == null ^ this.getDocumentClassifierArn() == null) return false; if (other.getDocumentClassifierArn() != null && other.getDocumentClassifierArn().equals(this.getDocumentClassifierArn()) == false) return false; if (other.getInputDataConfig() == null ^ this.getInputDataConfig() == null) return false; if (other.getInputDataConfig() != null && other.getInputDataConfig().equals(this.getInputDataConfig()) == false) return false; if (other.getOutputDataConfig() == null ^ this.getOutputDataConfig() == null) return false; if (other.getOutputDataConfig() != null && other.getOutputDataConfig().equals(this.getOutputDataConfig()) == false) return false; if (other.getDataAccessRoleArn() == null ^ this.getDataAccessRoleArn() == null) return false; if (other.getDataAccessRoleArn() != null && other.getDataAccessRoleArn().equals(this.getDataAccessRoleArn()) == false) return false; if (other.getVolumeKmsKeyId() == null ^ this.getVolumeKmsKeyId() == null) return false; if (other.getVolumeKmsKeyId() != null && other.getVolumeKmsKeyId().equals(this.getVolumeKmsKeyId()) == false) return false; if (other.getVpcConfig() == null ^ this.getVpcConfig() == null) return false; if (other.getVpcConfig() != null && other.getVpcConfig().equals(this.getVpcConfig()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getJobId() == null) ? 0 : getJobId().hashCode()); hashCode = prime * hashCode + ((getJobArn() == null) ? 0 : getJobArn().hashCode()); hashCode = prime * hashCode + ((getJobName() == null) ? 0 : getJobName().hashCode()); hashCode = prime * hashCode + ((getJobStatus() == null) ? 0 : getJobStatus().hashCode()); hashCode = prime * hashCode + ((getMessage() == null) ? 0 : getMessage().hashCode()); hashCode = prime * hashCode + ((getSubmitTime() == null) ? 0 : getSubmitTime().hashCode()); hashCode = prime * hashCode + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); hashCode = prime * hashCode + ((getDocumentClassifierArn() == null) ? 0 : getDocumentClassifierArn().hashCode()); hashCode = prime * hashCode + ((getInputDataConfig() == null) ? 0 : getInputDataConfig().hashCode()); hashCode = prime * hashCode + ((getOutputDataConfig() == null) ? 0 : getOutputDataConfig().hashCode()); hashCode = prime * hashCode + ((getDataAccessRoleArn() == null) ? 0 : getDataAccessRoleArn().hashCode()); hashCode = prime * hashCode + ((getVolumeKmsKeyId() == null) ? 0 : getVolumeKmsKeyId().hashCode()); hashCode = prime * hashCode + ((getVpcConfig() == null) ? 0 : getVpcConfig().hashCode()); return hashCode; } @Override public DocumentClassificationJobProperties clone() { try { return (DocumentClassificationJobProperties) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.comprehend.model.transform.DocumentClassificationJobPropertiesMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy