/* * 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.personalize.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Provides a summary of the properties of a dataset import job. For a complete listing, call the DescribeDatasetImportJob API. *

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

* The Amazon Resource Name (ARN) of the dataset import job. *

*/ private String datasetImportJobArn; /** *

* The name of the dataset import job. *

*/ private String jobName; /** *

* The status of the dataset ACTIVE -or- CREATE FAILED *

* */ private String status; /** *

* The date and time (in Unix time) that the dataset import job was created. *

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

* The date and time (in Unix time) that the dataset import job status was last updated. *

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

* If a dataset import job fails, the reason behind the failure. *

*/ private String failureReason; /** *

* The import mode the dataset import job used to update the data in the dataset. For more information see Updating existing bulk * data. *

*/ private String importMode; /** *

* The Amazon Resource Name (ARN) of the dataset import job. *

* * @param datasetImportJobArn * The Amazon Resource Name (ARN) of the dataset import job. */ public void setDatasetImportJobArn(String datasetImportJobArn) { this.datasetImportJobArn = datasetImportJobArn; } /** *

* The Amazon Resource Name (ARN) of the dataset import job. *

* * @return The Amazon Resource Name (ARN) of the dataset import job. */ public String getDatasetImportJobArn() { return this.datasetImportJobArn; } /** *

* The Amazon Resource Name (ARN) of the dataset import job. *

* * @param datasetImportJobArn * The Amazon Resource Name (ARN) of the dataset import job. * @return Returns a reference to this object so that method calls can be chained together. */ public DatasetImportJobSummary withDatasetImportJobArn(String datasetImportJobArn) { setDatasetImportJobArn(datasetImportJobArn); return this; } /** *

* The name of the dataset import job. *

* * @param jobName * The name of the dataset import job. */ public void setJobName(String jobName) { this.jobName = jobName; } /** *

* The name of the dataset import job. *

* * @return The name of the dataset import job. */ public String getJobName() { return this.jobName; } /** *

* The name of the dataset import job. *

* * @param jobName * The name of the dataset import job. * @return Returns a reference to this object so that method calls can be chained together. */ public DatasetImportJobSummary withJobName(String jobName) { setJobName(jobName); return this; } /** *

* The status of the dataset import job. *

*

* A dataset import job can be in one of the following states: *

* * * @param status * The status of the dataset import job.

*

* A dataset import job can be in one of the following states: *

*