/* * 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 export job. For a complete listing, call the DescribeDatasetExportJob API. *

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

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

*/ private String datasetExportJobArn; /** *

* The name of the dataset export job. *

*/ private String jobName; /** *

* The status of the dataset export job. *

*

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

* */ private String status; /** *

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

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

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

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

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

*/ private String failureReason; /** *

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

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

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

* * @return The Amazon Resource Name (ARN) of the dataset export job. */ public String getDatasetExportJobArn() { return this.datasetExportJobArn; } /** *

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

* * @param datasetExportJobArn * The Amazon Resource Name (ARN) of the dataset export job. * @return Returns a reference to this object so that method calls can be chained together. */ public DatasetExportJobSummary withDatasetExportJobArn(String datasetExportJobArn) { setDatasetExportJobArn(datasetExportJobArn); return this; } /** *

* The name of the dataset export job. *

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

* The name of the dataset export job. *

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

* The name of the dataset export job. *

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

* The status of the dataset export job. *

*

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

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

*

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

*