/* * 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.comprehend.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StartTopicsDetectionJobResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The identifier generated for the job. To get the status of the job, use this identifier with the * DescribeTopicDetectionJob operation. *

*/ private String jobId; /** *

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

*

* arn:<partition>:comprehend:<region>:<account-id>:topics-detection-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 status of the job: *

* */ private String jobStatus; /** *

* The identifier generated for the job. To get the status of the job, use this identifier with the * DescribeTopicDetectionJob operation. *

* * @param jobId * The identifier generated for the job. To get the status of the job, use this identifier with the * DescribeTopicDetectionJob operation. */ public void setJobId(String jobId) { this.jobId = jobId; } /** *

* The identifier generated for the job. To get the status of the job, use this identifier with the * DescribeTopicDetectionJob operation. *

* * @return The identifier generated for the job. To get the status of the job, use this identifier with the * DescribeTopicDetectionJob operation. */ public String getJobId() { return this.jobId; } /** *

* The identifier generated for the job. To get the status of the job, use this identifier with the * DescribeTopicDetectionJob operation. *

* * @param jobId * The identifier generated for the job. To get the status of the job, use this identifier with the * DescribeTopicDetectionJob operation. * @return Returns a reference to this object so that method calls can be chained together. */ public StartTopicsDetectionJobResult withJobId(String jobId) { setJobId(jobId); return this; } /** *

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

*

* arn:<partition>:comprehend:<region>:<account-id>:topics-detection-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 topics detection job. It is a unique, fully qualified identifier for * the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The * format of the ARN is as follows:

*

* arn:<partition>:comprehend:<region>:<account-id>:topics-detection-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 topics detection job. It is a unique, fully qualified identifier for the * job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the * ARN is as follows: *

*

* arn:<partition>:comprehend:<region>:<account-id>:topics-detection-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 topics detection job. It is a unique, fully qualified identifier * for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The * format of the ARN is as follows:

*

* arn:<partition>:comprehend:<region>:<account-id>:topics-detection-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 topics detection job. It is a unique, fully qualified identifier for the * job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the * ARN is as follows: *

*

* arn:<partition>:comprehend:<region>:<account-id>:topics-detection-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 topics detection job. It is a unique, fully qualified identifier for * the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The * format of the ARN is as follows:

*

* arn:<partition>:comprehend:<region>:<account-id>:topics-detection-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 StartTopicsDetectionJobResult withJobArn(String jobArn) { setJobArn(jobArn); return this; } /** *

* The status of the job: *

* * * @param jobStatus * The status of the job:

*