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

com.amazonaws.services.forecast.model.DescribeDatasetImportJobResult Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Forecast module holds the client classes that are used for communicating with Amazon Forecast Service

There is a newer version: 1.12.780
Show newest version
/*
 * 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.forecast.model;

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

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

    /**
     * 

* The name of the dataset import job. *

*/ private String datasetImportJobName; /** *

* The ARN of the dataset import job. *

*/ private String datasetImportJobArn; /** *

* The Amazon Resource Name (ARN) of the dataset that the training data was imported to. *

*/ private String datasetArn; /** *

* The format of timestamps in the dataset. The format that you specify depends on the DataFrequency * specified when the dataset was created. The following formats are supported *

*
    *
  • *

    * "yyyy-MM-dd" *

    *

    * For the following data frequencies: Y, M, W, and D *

    *
  • *
  • *

    * "yyyy-MM-dd HH:mm:ss" *

    *

    * For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D *

    *
  • *
*/ private String timestampFormat; /** *

* The single time zone applied to every item in the dataset *

*/ private String timeZone; /** *

* Whether TimeZone is automatically derived from the geolocation attribute. *

*/ private Boolean useGeolocationForTimeZone; /** *

* The format of the geolocation attribute. Valid Values:"LAT_LONG" and "CC_POSTALCODE". *

*/ private String geolocationFormat; /** *

* The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast * can assume to access the data. *

*

* If encryption is used, DataSource includes an Key Management Service (KMS) key. *

*/ private DataSource dataSource; /** *

* The estimated time remaining in minutes for the dataset import job to complete. *

*/ private Long estimatedTimeRemainingInMinutes; /** *

* Statistical information about each field in the input data. *

*/ private java.util.Map fieldStatistics; /** *

* The size of the dataset in gigabytes (GB) after the import job has finished. *

*/ private Double dataSize; /** *

* The status of the dataset import job. States include: *

*
    *
  • *

    * ACTIVE *

    *
  • *
  • *

    * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

    *
  • *
  • *

    * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

    *
  • *
  • *

    * CREATE_STOPPING, CREATE_STOPPED *

    *
  • *
*/ private String status; /** *

* If an error occurred, an informational message about the error. *

*/ private String message; /** *

* When the dataset import job was created. *

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

* The last time the resource was modified. The timestamp depends on the status of the job: *

*
    *
  • *

    * CREATE_PENDING - The CreationTime. *

    *
  • *
  • *

    * CREATE_IN_PROGRESS - The current timestamp. *

    *
  • *
  • *

    * CREATE_STOPPING - The current timestamp. *

    *
  • *
  • *

    * CREATE_STOPPED - When the job stopped. *

    *
  • *
  • *

    * ACTIVE or CREATE_FAILED - When the job finished or failed. *

    *
  • *
*/ private java.util.Date lastModificationTime; /** *

* The format of the imported data, CSV or PARQUET. *

*/ private String format; /** *

* The import mode of the dataset import job, FULL or INCREMENTAL. *

*/ private String importMode; /** *

* The name of the dataset import job. *

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

* The name of the dataset import job. *

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

* The name of the dataset import job. *

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

* The ARN of the dataset import job. *

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

* The ARN of the dataset import job. *

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

* The ARN of the dataset import job. *

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

* The Amazon Resource Name (ARN) of the dataset that the training data was imported to. *

* * @param datasetArn * The Amazon Resource Name (ARN) of the dataset that the training data was imported to. */ public void setDatasetArn(String datasetArn) { this.datasetArn = datasetArn; } /** *

* The Amazon Resource Name (ARN) of the dataset that the training data was imported to. *

* * @return The Amazon Resource Name (ARN) of the dataset that the training data was imported to. */ public String getDatasetArn() { return this.datasetArn; } /** *

* The Amazon Resource Name (ARN) of the dataset that the training data was imported to. *

* * @param datasetArn * The Amazon Resource Name (ARN) of the dataset that the training data was imported to. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withDatasetArn(String datasetArn) { setDatasetArn(datasetArn); return this; } /** *

* The format of timestamps in the dataset. The format that you specify depends on the DataFrequency * specified when the dataset was created. The following formats are supported *

*
    *
  • *

    * "yyyy-MM-dd" *

    *

    * For the following data frequencies: Y, M, W, and D *

    *
  • *
  • *

    * "yyyy-MM-dd HH:mm:ss" *

    *

    * For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D *

    *
  • *
* * @param timestampFormat * The format of timestamps in the dataset. The format that you specify depends on the * DataFrequency specified when the dataset was created. The following formats are supported

*
    *
  • *

    * "yyyy-MM-dd" *

    *

    * For the following data frequencies: Y, M, W, and D *

    *
  • *
  • *

    * "yyyy-MM-dd HH:mm:ss" *

    *

    * For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D *

    *
  • */ public void setTimestampFormat(String timestampFormat) { this.timestampFormat = timestampFormat; } /** *

    * The format of timestamps in the dataset. The format that you specify depends on the DataFrequency * specified when the dataset was created. The following formats are supported *

    *
      *
    • *

      * "yyyy-MM-dd" *

      *

      * For the following data frequencies: Y, M, W, and D *

      *
    • *
    • *

      * "yyyy-MM-dd HH:mm:ss" *

      *

      * For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D *

      *
    • *
    * * @return The format of timestamps in the dataset. The format that you specify depends on the * DataFrequency specified when the dataset was created. The following formats are * supported

    *
      *
    • *

      * "yyyy-MM-dd" *

      *

      * For the following data frequencies: Y, M, W, and D *

      *
    • *
    • *

      * "yyyy-MM-dd HH:mm:ss" *

      *

      * For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D *

      *
    • */ public String getTimestampFormat() { return this.timestampFormat; } /** *

      * The format of timestamps in the dataset. The format that you specify depends on the DataFrequency * specified when the dataset was created. The following formats are supported *

      *
        *
      • *

        * "yyyy-MM-dd" *

        *

        * For the following data frequencies: Y, M, W, and D *

        *
      • *
      • *

        * "yyyy-MM-dd HH:mm:ss" *

        *

        * For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D *

        *
      • *
      * * @param timestampFormat * The format of timestamps in the dataset. The format that you specify depends on the * DataFrequency specified when the dataset was created. The following formats are supported

      *
        *
      • *

        * "yyyy-MM-dd" *

        *

        * For the following data frequencies: Y, M, W, and D *

        *
      • *
      • *

        * "yyyy-MM-dd HH:mm:ss" *

        *

        * For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withTimestampFormat(String timestampFormat) { setTimestampFormat(timestampFormat); return this; } /** *

        * The single time zone applied to every item in the dataset *

        * * @param timeZone * The single time zone applied to every item in the dataset */ public void setTimeZone(String timeZone) { this.timeZone = timeZone; } /** *

        * The single time zone applied to every item in the dataset *

        * * @return The single time zone applied to every item in the dataset */ public String getTimeZone() { return this.timeZone; } /** *

        * The single time zone applied to every item in the dataset *

        * * @param timeZone * The single time zone applied to every item in the dataset * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withTimeZone(String timeZone) { setTimeZone(timeZone); return this; } /** *

        * Whether TimeZone is automatically derived from the geolocation attribute. *

        * * @param useGeolocationForTimeZone * Whether TimeZone is automatically derived from the geolocation attribute. */ public void setUseGeolocationForTimeZone(Boolean useGeolocationForTimeZone) { this.useGeolocationForTimeZone = useGeolocationForTimeZone; } /** *

        * Whether TimeZone is automatically derived from the geolocation attribute. *

        * * @return Whether TimeZone is automatically derived from the geolocation attribute. */ public Boolean getUseGeolocationForTimeZone() { return this.useGeolocationForTimeZone; } /** *

        * Whether TimeZone is automatically derived from the geolocation attribute. *

        * * @param useGeolocationForTimeZone * Whether TimeZone is automatically derived from the geolocation attribute. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withUseGeolocationForTimeZone(Boolean useGeolocationForTimeZone) { setUseGeolocationForTimeZone(useGeolocationForTimeZone); return this; } /** *

        * Whether TimeZone is automatically derived from the geolocation attribute. *

        * * @return Whether TimeZone is automatically derived from the geolocation attribute. */ public Boolean isUseGeolocationForTimeZone() { return this.useGeolocationForTimeZone; } /** *

        * The format of the geolocation attribute. Valid Values:"LAT_LONG" and "CC_POSTALCODE". *

        * * @param geolocationFormat * The format of the geolocation attribute. Valid Values:"LAT_LONG" and * "CC_POSTALCODE". */ public void setGeolocationFormat(String geolocationFormat) { this.geolocationFormat = geolocationFormat; } /** *

        * The format of the geolocation attribute. Valid Values:"LAT_LONG" and "CC_POSTALCODE". *

        * * @return The format of the geolocation attribute. Valid Values:"LAT_LONG" and * "CC_POSTALCODE". */ public String getGeolocationFormat() { return this.geolocationFormat; } /** *

        * The format of the geolocation attribute. Valid Values:"LAT_LONG" and "CC_POSTALCODE". *

        * * @param geolocationFormat * The format of the geolocation attribute. Valid Values:"LAT_LONG" and * "CC_POSTALCODE". * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withGeolocationFormat(String geolocationFormat) { setGeolocationFormat(geolocationFormat); return this; } /** *

        * The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast * can assume to access the data. *

        *

        * If encryption is used, DataSource includes an Key Management Service (KMS) key. *

        * * @param dataSource * The location of the training data to import and an Identity and Access Management (IAM) role that Amazon * Forecast can assume to access the data.

        *

        * If encryption is used, DataSource includes an Key Management Service (KMS) key. */ public void setDataSource(DataSource dataSource) { this.dataSource = dataSource; } /** *

        * The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast * can assume to access the data. *

        *

        * If encryption is used, DataSource includes an Key Management Service (KMS) key. *

        * * @return The location of the training data to import and an Identity and Access Management (IAM) role that Amazon * Forecast can assume to access the data.

        *

        * If encryption is used, DataSource includes an Key Management Service (KMS) key. */ public DataSource getDataSource() { return this.dataSource; } /** *

        * The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast * can assume to access the data. *

        *

        * If encryption is used, DataSource includes an Key Management Service (KMS) key. *

        * * @param dataSource * The location of the training data to import and an Identity and Access Management (IAM) role that Amazon * Forecast can assume to access the data.

        *

        * If encryption is used, DataSource includes an Key Management Service (KMS) key. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withDataSource(DataSource dataSource) { setDataSource(dataSource); return this; } /** *

        * The estimated time remaining in minutes for the dataset import job to complete. *

        * * @param estimatedTimeRemainingInMinutes * The estimated time remaining in minutes for the dataset import job to complete. */ public void setEstimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes) { this.estimatedTimeRemainingInMinutes = estimatedTimeRemainingInMinutes; } /** *

        * The estimated time remaining in minutes for the dataset import job to complete. *

        * * @return The estimated time remaining in minutes for the dataset import job to complete. */ public Long getEstimatedTimeRemainingInMinutes() { return this.estimatedTimeRemainingInMinutes; } /** *

        * The estimated time remaining in minutes for the dataset import job to complete. *

        * * @param estimatedTimeRemainingInMinutes * The estimated time remaining in minutes for the dataset import job to complete. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withEstimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes) { setEstimatedTimeRemainingInMinutes(estimatedTimeRemainingInMinutes); return this; } /** *

        * Statistical information about each field in the input data. *

        * * @return Statistical information about each field in the input data. */ public java.util.Map getFieldStatistics() { return fieldStatistics; } /** *

        * Statistical information about each field in the input data. *

        * * @param fieldStatistics * Statistical information about each field in the input data. */ public void setFieldStatistics(java.util.Map fieldStatistics) { this.fieldStatistics = fieldStatistics; } /** *

        * Statistical information about each field in the input data. *

        * * @param fieldStatistics * Statistical information about each field in the input data. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withFieldStatistics(java.util.Map fieldStatistics) { setFieldStatistics(fieldStatistics); return this; } /** * Add a single FieldStatistics entry * * @see DescribeDatasetImportJobResult#withFieldStatistics * @returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult addFieldStatisticsEntry(String key, Statistics value) { if (null == this.fieldStatistics) { this.fieldStatistics = new java.util.HashMap(); } if (this.fieldStatistics.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.fieldStatistics.put(key, value); return this; } /** * Removes all the entries added into FieldStatistics. * * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult clearFieldStatisticsEntries() { this.fieldStatistics = null; return this; } /** *

        * The size of the dataset in gigabytes (GB) after the import job has finished. *

        * * @param dataSize * The size of the dataset in gigabytes (GB) after the import job has finished. */ public void setDataSize(Double dataSize) { this.dataSize = dataSize; } /** *

        * The size of the dataset in gigabytes (GB) after the import job has finished. *

        * * @return The size of the dataset in gigabytes (GB) after the import job has finished. */ public Double getDataSize() { return this.dataSize; } /** *

        * The size of the dataset in gigabytes (GB) after the import job has finished. *

        * * @param dataSize * The size of the dataset in gigabytes (GB) after the import job has finished. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withDataSize(Double dataSize) { setDataSize(dataSize); return this; } /** *

        * The status of the dataset import job. States include: *

        *
          *
        • *

          * ACTIVE *

          *
        • *
        • *

          * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

          *
        • *
        • *

          * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

          *
        • *
        • *

          * CREATE_STOPPING, CREATE_STOPPED *

          *
        • *
        * * @param status * The status of the dataset import job. States include:

        *
          *
        • *

          * ACTIVE *

          *
        • *
        • *

          * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

          *
        • *
        • *

          * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

          *
        • *
        • *

          * CREATE_STOPPING, CREATE_STOPPED *

          *
        • */ public void setStatus(String status) { this.status = status; } /** *

          * The status of the dataset import job. States include: *

          *
            *
          • *

            * ACTIVE *

            *
          • *
          • *

            * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

            *
          • *
          • *

            * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

            *
          • *
          • *

            * CREATE_STOPPING, CREATE_STOPPED *

            *
          • *
          * * @return The status of the dataset import job. States include:

          *
            *
          • *

            * ACTIVE *

            *
          • *
          • *

            * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

            *
          • *
          • *

            * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

            *
          • *
          • *

            * CREATE_STOPPING, CREATE_STOPPED *

            *
          • */ public String getStatus() { return this.status; } /** *

            * The status of the dataset import job. States include: *

            *
              *
            • *

              * ACTIVE *

              *
            • *
            • *

              * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

              *
            • *
            • *

              * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

              *
            • *
            • *

              * CREATE_STOPPING, CREATE_STOPPED *

              *
            • *
            * * @param status * The status of the dataset import job. States include:

            *
              *
            • *

              * ACTIVE *

              *
            • *
            • *

              * CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED *

              *
            • *
            • *

              * DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED *

              *
            • *
            • *

              * CREATE_STOPPING, CREATE_STOPPED *

              *
            • * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withStatus(String status) { setStatus(status); return this; } /** *

              * If an error occurred, an informational message about the error. *

              * * @param message * If an error occurred, an informational message about the error. */ public void setMessage(String message) { this.message = message; } /** *

              * If an error occurred, an informational message about the error. *

              * * @return If an error occurred, an informational message about the error. */ public String getMessage() { return this.message; } /** *

              * If an error occurred, an informational message about the error. *

              * * @param message * If an error occurred, an informational message about the error. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withMessage(String message) { setMessage(message); return this; } /** *

              * When the dataset import job was created. *

              * * @param creationTime * When the dataset import job was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

              * When the dataset import job was created. *

              * * @return When the dataset import job was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

              * When the dataset import job was created. *

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

              * The last time the resource was modified. The timestamp depends on the status of the job: *

              *
                *
              • *

                * CREATE_PENDING - The CreationTime. *

                *
              • *
              • *

                * CREATE_IN_PROGRESS - The current timestamp. *

                *
              • *
              • *

                * CREATE_STOPPING - The current timestamp. *

                *
              • *
              • *

                * CREATE_STOPPED - When the job stopped. *

                *
              • *
              • *

                * ACTIVE or CREATE_FAILED - When the job finished or failed. *

                *
              • *
              * * @param lastModificationTime * The last time the resource was modified. The timestamp depends on the status of the job:

              *
                *
              • *

                * CREATE_PENDING - The CreationTime. *

                *
              • *
              • *

                * CREATE_IN_PROGRESS - The current timestamp. *

                *
              • *
              • *

                * CREATE_STOPPING - The current timestamp. *

                *
              • *
              • *

                * CREATE_STOPPED - When the job stopped. *

                *
              • *
              • *

                * ACTIVE or CREATE_FAILED - When the job finished or failed. *

                *
              • */ public void setLastModificationTime(java.util.Date lastModificationTime) { this.lastModificationTime = lastModificationTime; } /** *

                * The last time the resource was modified. The timestamp depends on the status of the job: *

                *
                  *
                • *

                  * CREATE_PENDING - The CreationTime. *

                  *
                • *
                • *

                  * CREATE_IN_PROGRESS - The current timestamp. *

                  *
                • *
                • *

                  * CREATE_STOPPING - The current timestamp. *

                  *
                • *
                • *

                  * CREATE_STOPPED - When the job stopped. *

                  *
                • *
                • *

                  * ACTIVE or CREATE_FAILED - When the job finished or failed. *

                  *
                • *
                * * @return The last time the resource was modified. The timestamp depends on the status of the job:

                *
                  *
                • *

                  * CREATE_PENDING - The CreationTime. *

                  *
                • *
                • *

                  * CREATE_IN_PROGRESS - The current timestamp. *

                  *
                • *
                • *

                  * CREATE_STOPPING - The current timestamp. *

                  *
                • *
                • *

                  * CREATE_STOPPED - When the job stopped. *

                  *
                • *
                • *

                  * ACTIVE or CREATE_FAILED - When the job finished or failed. *

                  *
                • */ public java.util.Date getLastModificationTime() { return this.lastModificationTime; } /** *

                  * The last time the resource was modified. The timestamp depends on the status of the job: *

                  *
                    *
                  • *

                    * CREATE_PENDING - The CreationTime. *

                    *
                  • *
                  • *

                    * CREATE_IN_PROGRESS - The current timestamp. *

                    *
                  • *
                  • *

                    * CREATE_STOPPING - The current timestamp. *

                    *
                  • *
                  • *

                    * CREATE_STOPPED - When the job stopped. *

                    *
                  • *
                  • *

                    * ACTIVE or CREATE_FAILED - When the job finished or failed. *

                    *
                  • *
                  * * @param lastModificationTime * The last time the resource was modified. The timestamp depends on the status of the job:

                  *
                    *
                  • *

                    * CREATE_PENDING - The CreationTime. *

                    *
                  • *
                  • *

                    * CREATE_IN_PROGRESS - The current timestamp. *

                    *
                  • *
                  • *

                    * CREATE_STOPPING - The current timestamp. *

                    *
                  • *
                  • *

                    * CREATE_STOPPED - When the job stopped. *

                    *
                  • *
                  • *

                    * ACTIVE or CREATE_FAILED - When the job finished or failed. *

                    *
                  • * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withLastModificationTime(java.util.Date lastModificationTime) { setLastModificationTime(lastModificationTime); return this; } /** *

                    * The format of the imported data, CSV or PARQUET. *

                    * * @param format * The format of the imported data, CSV or PARQUET. */ public void setFormat(String format) { this.format = format; } /** *

                    * The format of the imported data, CSV or PARQUET. *

                    * * @return The format of the imported data, CSV or PARQUET. */ public String getFormat() { return this.format; } /** *

                    * The format of the imported data, CSV or PARQUET. *

                    * * @param format * The format of the imported data, CSV or PARQUET. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeDatasetImportJobResult withFormat(String format) { setFormat(format); return this; } /** *

                    * The import mode of the dataset import job, FULL or INCREMENTAL. *

                    * * @param importMode * The import mode of the dataset import job, FULL or INCREMENTAL. * @see ImportMode */ public void setImportMode(String importMode) { this.importMode = importMode; } /** *

                    * The import mode of the dataset import job, FULL or INCREMENTAL. *

                    * * @return The import mode of the dataset import job, FULL or INCREMENTAL. * @see ImportMode */ public String getImportMode() { return this.importMode; } /** *

                    * The import mode of the dataset import job, FULL or INCREMENTAL. *

                    * * @param importMode * The import mode of the dataset import job, FULL or INCREMENTAL. * @return Returns a reference to this object so that method calls can be chained together. * @see ImportMode */ public DescribeDatasetImportJobResult withImportMode(String importMode) { setImportMode(importMode); return this; } /** *

                    * The import mode of the dataset import job, FULL or INCREMENTAL. *

                    * * @param importMode * The import mode of the dataset import job, FULL or INCREMENTAL. * @return Returns a reference to this object so that method calls can be chained together. * @see ImportMode */ public DescribeDatasetImportJobResult withImportMode(ImportMode importMode) { this.importMode = importMode.toString(); 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 (getDatasetImportJobName() != null) sb.append("DatasetImportJobName: ").append(getDatasetImportJobName()).append(","); if (getDatasetImportJobArn() != null) sb.append("DatasetImportJobArn: ").append(getDatasetImportJobArn()).append(","); if (getDatasetArn() != null) sb.append("DatasetArn: ").append(getDatasetArn()).append(","); if (getTimestampFormat() != null) sb.append("TimestampFormat: ").append(getTimestampFormat()).append(","); if (getTimeZone() != null) sb.append("TimeZone: ").append(getTimeZone()).append(","); if (getUseGeolocationForTimeZone() != null) sb.append("UseGeolocationForTimeZone: ").append(getUseGeolocationForTimeZone()).append(","); if (getGeolocationFormat() != null) sb.append("GeolocationFormat: ").append(getGeolocationFormat()).append(","); if (getDataSource() != null) sb.append("DataSource: ").append(getDataSource()).append(","); if (getEstimatedTimeRemainingInMinutes() != null) sb.append("EstimatedTimeRemainingInMinutes: ").append(getEstimatedTimeRemainingInMinutes()).append(","); if (getFieldStatistics() != null) sb.append("FieldStatistics: ").append(getFieldStatistics()).append(","); if (getDataSize() != null) sb.append("DataSize: ").append(getDataSize()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getMessage() != null) sb.append("Message: ").append(getMessage()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastModificationTime() != null) sb.append("LastModificationTime: ").append(getLastModificationTime()).append(","); if (getFormat() != null) sb.append("Format: ").append(getFormat()).append(","); if (getImportMode() != null) sb.append("ImportMode: ").append(getImportMode()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeDatasetImportJobResult == false) return false; DescribeDatasetImportJobResult other = (DescribeDatasetImportJobResult) obj; if (other.getDatasetImportJobName() == null ^ this.getDatasetImportJobName() == null) return false; if (other.getDatasetImportJobName() != null && other.getDatasetImportJobName().equals(this.getDatasetImportJobName()) == false) return false; if (other.getDatasetImportJobArn() == null ^ this.getDatasetImportJobArn() == null) return false; if (other.getDatasetImportJobArn() != null && other.getDatasetImportJobArn().equals(this.getDatasetImportJobArn()) == false) return false; if (other.getDatasetArn() == null ^ this.getDatasetArn() == null) return false; if (other.getDatasetArn() != null && other.getDatasetArn().equals(this.getDatasetArn()) == false) return false; if (other.getTimestampFormat() == null ^ this.getTimestampFormat() == null) return false; if (other.getTimestampFormat() != null && other.getTimestampFormat().equals(this.getTimestampFormat()) == false) return false; if (other.getTimeZone() == null ^ this.getTimeZone() == null) return false; if (other.getTimeZone() != null && other.getTimeZone().equals(this.getTimeZone()) == false) return false; if (other.getUseGeolocationForTimeZone() == null ^ this.getUseGeolocationForTimeZone() == null) return false; if (other.getUseGeolocationForTimeZone() != null && other.getUseGeolocationForTimeZone().equals(this.getUseGeolocationForTimeZone()) == false) return false; if (other.getGeolocationFormat() == null ^ this.getGeolocationFormat() == null) return false; if (other.getGeolocationFormat() != null && other.getGeolocationFormat().equals(this.getGeolocationFormat()) == false) return false; if (other.getDataSource() == null ^ this.getDataSource() == null) return false; if (other.getDataSource() != null && other.getDataSource().equals(this.getDataSource()) == false) return false; if (other.getEstimatedTimeRemainingInMinutes() == null ^ this.getEstimatedTimeRemainingInMinutes() == null) return false; if (other.getEstimatedTimeRemainingInMinutes() != null && other.getEstimatedTimeRemainingInMinutes().equals(this.getEstimatedTimeRemainingInMinutes()) == false) return false; if (other.getFieldStatistics() == null ^ this.getFieldStatistics() == null) return false; if (other.getFieldStatistics() != null && other.getFieldStatistics().equals(this.getFieldStatistics()) == false) return false; if (other.getDataSize() == null ^ this.getDataSize() == null) return false; if (other.getDataSize() != null && other.getDataSize().equals(this.getDataSize()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == 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.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLastModificationTime() == null ^ this.getLastModificationTime() == null) return false; if (other.getLastModificationTime() != null && other.getLastModificationTime().equals(this.getLastModificationTime()) == false) return false; if (other.getFormat() == null ^ this.getFormat() == null) return false; if (other.getFormat() != null && other.getFormat().equals(this.getFormat()) == false) return false; if (other.getImportMode() == null ^ this.getImportMode() == null) return false; if (other.getImportMode() != null && other.getImportMode().equals(this.getImportMode()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDatasetImportJobName() == null) ? 0 : getDatasetImportJobName().hashCode()); hashCode = prime * hashCode + ((getDatasetImportJobArn() == null) ? 0 : getDatasetImportJobArn().hashCode()); hashCode = prime * hashCode + ((getDatasetArn() == null) ? 0 : getDatasetArn().hashCode()); hashCode = prime * hashCode + ((getTimestampFormat() == null) ? 0 : getTimestampFormat().hashCode()); hashCode = prime * hashCode + ((getTimeZone() == null) ? 0 : getTimeZone().hashCode()); hashCode = prime * hashCode + ((getUseGeolocationForTimeZone() == null) ? 0 : getUseGeolocationForTimeZone().hashCode()); hashCode = prime * hashCode + ((getGeolocationFormat() == null) ? 0 : getGeolocationFormat().hashCode()); hashCode = prime * hashCode + ((getDataSource() == null) ? 0 : getDataSource().hashCode()); hashCode = prime * hashCode + ((getEstimatedTimeRemainingInMinutes() == null) ? 0 : getEstimatedTimeRemainingInMinutes().hashCode()); hashCode = prime * hashCode + ((getFieldStatistics() == null) ? 0 : getFieldStatistics().hashCode()); hashCode = prime * hashCode + ((getDataSize() == null) ? 0 : getDataSize().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getMessage() == null) ? 0 : getMessage().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastModificationTime() == null) ? 0 : getLastModificationTime().hashCode()); hashCode = prime * hashCode + ((getFormat() == null) ? 0 : getFormat().hashCode()); hashCode = prime * hashCode + ((getImportMode() == null) ? 0 : getImportMode().hashCode()); return hashCode; } @Override public DescribeDatasetImportJobResult clone() { try { return (DescribeDatasetImportJobResult) 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