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

com.amazonaws.services.dynamodbv2.model.ExportDescription Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.765
Show newest version
/*
 * Copyright 2015-2020 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.dynamodbv2.model;

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

/**
 * 

* Represents the properties of the exported table. *

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

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

*/ private String exportArn; /** *

* Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED. *

*/ private String exportStatus; /** *

* The time at which the export task began. *

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

* The time at which the export task completed. *

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

* The name of the manifest file for the export task. *

*/ private String exportManifest; /** *

* The Amazon Resource Name (ARN) of the table that was exported. *

*/ private String tableArn; /** *

* Unique ID of the table that was exported. *

*/ private String tableId; /** *

* Point in time from which table data was exported. *

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

* The client token that was provided for the export task. A client token makes calls to * ExportTableToPointInTimeInput idempotent, meaning that multiple identical calls have the same effect * as one single call. *

*/ private String clientToken; /** *

* The name of the Amazon S3 bucket containing the export. *

*/ private String s3Bucket; /** *

* The ID of the AWS account that owns the bucket containing the export. *

*/ private String s3BucketOwner; /** *

* The Amazon S3 bucket prefix used as the file name and path of the exported snapshot. *

*/ private String s3Prefix; /** *

* Type of encryption used on the bucket where export data is stored. Valid values for S3SseAlgorithm * are: *

*
    *
  • *

    * AES256 - server-side encryption with Amazon S3 managed keys *

    *
  • *
  • *

    * KMS - server-side encryption with AWS KMS managed keys *

    *
  • *
*/ private String s3SseAlgorithm; /** *

* The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is stored (if applicable). *

*/ private String s3SseKmsKeyId; /** *

* Status code for the result of the failed export. *

*/ private String failureCode; /** *

* Export failure reason description. *

*/ private String failureMessage; /** *

* The format of the exported data. Valid values for ExportFormat are DYNAMODB_JSON or * ION. *

*/ private String exportFormat; /** *

* The billable size of the table export. *

*/ private Long billedSizeBytes; /** *

* The number of items exported. *

*/ private Long itemCount; /** *

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

* * @param exportArn * The Amazon Resource Name (ARN) of the table export. */ public void setExportArn(String exportArn) { this.exportArn = exportArn; } /** *

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

* * @return The Amazon Resource Name (ARN) of the table export. */ public String getExportArn() { return this.exportArn; } /** *

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

* * @param exportArn * The Amazon Resource Name (ARN) of the table export. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withExportArn(String exportArn) { setExportArn(exportArn); return this; } /** *

* Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED. *

* * @param exportStatus * Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED. * @see ExportStatus */ public void setExportStatus(String exportStatus) { this.exportStatus = exportStatus; } /** *

* Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED. *

* * @return Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED. * @see ExportStatus */ public String getExportStatus() { return this.exportStatus; } /** *

* Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED. *

* * @param exportStatus * Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED. * @return Returns a reference to this object so that method calls can be chained together. * @see ExportStatus */ public ExportDescription withExportStatus(String exportStatus) { setExportStatus(exportStatus); return this; } /** *

* Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED. *

* * @param exportStatus * Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED. * @return Returns a reference to this object so that method calls can be chained together. * @see ExportStatus */ public ExportDescription withExportStatus(ExportStatus exportStatus) { this.exportStatus = exportStatus.toString(); return this; } /** *

* The time at which the export task began. *

* * @param startTime * The time at which the export task began. */ public void setStartTime(java.util.Date startTime) { this.startTime = startTime; } /** *

* The time at which the export task began. *

* * @return The time at which the export task began. */ public java.util.Date getStartTime() { return this.startTime; } /** *

* The time at which the export task began. *

* * @param startTime * The time at which the export task began. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withStartTime(java.util.Date startTime) { setStartTime(startTime); return this; } /** *

* The time at which the export task completed. *

* * @param endTime * The time at which the export task completed. */ public void setEndTime(java.util.Date endTime) { this.endTime = endTime; } /** *

* The time at which the export task completed. *

* * @return The time at which the export task completed. */ public java.util.Date getEndTime() { return this.endTime; } /** *

* The time at which the export task completed. *

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

* The name of the manifest file for the export task. *

* * @param exportManifest * The name of the manifest file for the export task. */ public void setExportManifest(String exportManifest) { this.exportManifest = exportManifest; } /** *

* The name of the manifest file for the export task. *

* * @return The name of the manifest file for the export task. */ public String getExportManifest() { return this.exportManifest; } /** *

* The name of the manifest file for the export task. *

* * @param exportManifest * The name of the manifest file for the export task. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withExportManifest(String exportManifest) { setExportManifest(exportManifest); return this; } /** *

* The Amazon Resource Name (ARN) of the table that was exported. *

* * @param tableArn * The Amazon Resource Name (ARN) of the table that was exported. */ public void setTableArn(String tableArn) { this.tableArn = tableArn; } /** *

* The Amazon Resource Name (ARN) of the table that was exported. *

* * @return The Amazon Resource Name (ARN) of the table that was exported. */ public String getTableArn() { return this.tableArn; } /** *

* The Amazon Resource Name (ARN) of the table that was exported. *

* * @param tableArn * The Amazon Resource Name (ARN) of the table that was exported. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withTableArn(String tableArn) { setTableArn(tableArn); return this; } /** *

* Unique ID of the table that was exported. *

* * @param tableId * Unique ID of the table that was exported. */ public void setTableId(String tableId) { this.tableId = tableId; } /** *

* Unique ID of the table that was exported. *

* * @return Unique ID of the table that was exported. */ public String getTableId() { return this.tableId; } /** *

* Unique ID of the table that was exported. *

* * @param tableId * Unique ID of the table that was exported. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withTableId(String tableId) { setTableId(tableId); return this; } /** *

* Point in time from which table data was exported. *

* * @param exportTime * Point in time from which table data was exported. */ public void setExportTime(java.util.Date exportTime) { this.exportTime = exportTime; } /** *

* Point in time from which table data was exported. *

* * @return Point in time from which table data was exported. */ public java.util.Date getExportTime() { return this.exportTime; } /** *

* Point in time from which table data was exported. *

* * @param exportTime * Point in time from which table data was exported. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withExportTime(java.util.Date exportTime) { setExportTime(exportTime); return this; } /** *

* The client token that was provided for the export task. A client token makes calls to * ExportTableToPointInTimeInput idempotent, meaning that multiple identical calls have the same effect * as one single call. *

* * @param clientToken * The client token that was provided for the export task. A client token makes calls to * ExportTableToPointInTimeInput idempotent, meaning that multiple identical calls have the same * effect as one single call. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** *

* The client token that was provided for the export task. A client token makes calls to * ExportTableToPointInTimeInput idempotent, meaning that multiple identical calls have the same effect * as one single call. *

* * @return The client token that was provided for the export task. A client token makes calls to * ExportTableToPointInTimeInput idempotent, meaning that multiple identical calls have the * same effect as one single call. */ public String getClientToken() { return this.clientToken; } /** *

* The client token that was provided for the export task. A client token makes calls to * ExportTableToPointInTimeInput idempotent, meaning that multiple identical calls have the same effect * as one single call. *

* * @param clientToken * The client token that was provided for the export task. A client token makes calls to * ExportTableToPointInTimeInput idempotent, meaning that multiple identical calls have the same * effect as one single call. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** *

* The name of the Amazon S3 bucket containing the export. *

* * @param s3Bucket * The name of the Amazon S3 bucket containing the export. */ public void setS3Bucket(String s3Bucket) { this.s3Bucket = s3Bucket; } /** *

* The name of the Amazon S3 bucket containing the export. *

* * @return The name of the Amazon S3 bucket containing the export. */ public String getS3Bucket() { return this.s3Bucket; } /** *

* The name of the Amazon S3 bucket containing the export. *

* * @param s3Bucket * The name of the Amazon S3 bucket containing the export. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withS3Bucket(String s3Bucket) { setS3Bucket(s3Bucket); return this; } /** *

* The ID of the AWS account that owns the bucket containing the export. *

* * @param s3BucketOwner * The ID of the AWS account that owns the bucket containing the export. */ public void setS3BucketOwner(String s3BucketOwner) { this.s3BucketOwner = s3BucketOwner; } /** *

* The ID of the AWS account that owns the bucket containing the export. *

* * @return The ID of the AWS account that owns the bucket containing the export. */ public String getS3BucketOwner() { return this.s3BucketOwner; } /** *

* The ID of the AWS account that owns the bucket containing the export. *

* * @param s3BucketOwner * The ID of the AWS account that owns the bucket containing the export. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withS3BucketOwner(String s3BucketOwner) { setS3BucketOwner(s3BucketOwner); return this; } /** *

* The Amazon S3 bucket prefix used as the file name and path of the exported snapshot. *

* * @param s3Prefix * The Amazon S3 bucket prefix used as the file name and path of the exported snapshot. */ public void setS3Prefix(String s3Prefix) { this.s3Prefix = s3Prefix; } /** *

* The Amazon S3 bucket prefix used as the file name and path of the exported snapshot. *

* * @return The Amazon S3 bucket prefix used as the file name and path of the exported snapshot. */ public String getS3Prefix() { return this.s3Prefix; } /** *

* The Amazon S3 bucket prefix used as the file name and path of the exported snapshot. *

* * @param s3Prefix * The Amazon S3 bucket prefix used as the file name and path of the exported snapshot. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withS3Prefix(String s3Prefix) { setS3Prefix(s3Prefix); return this; } /** *

* Type of encryption used on the bucket where export data is stored. Valid values for S3SseAlgorithm * are: *

*
    *
  • *

    * AES256 - server-side encryption with Amazon S3 managed keys *

    *
  • *
  • *

    * KMS - server-side encryption with AWS KMS managed keys *

    *
  • *
* * @param s3SseAlgorithm * Type of encryption used on the bucket where export data is stored. Valid values for * S3SseAlgorithm are:

*
    *
  • *

    * AES256 - server-side encryption with Amazon S3 managed keys *

    *
  • *
  • *

    * KMS - server-side encryption with AWS KMS managed keys *

    *
  • * @see S3SseAlgorithm */ public void setS3SseAlgorithm(String s3SseAlgorithm) { this.s3SseAlgorithm = s3SseAlgorithm; } /** *

    * Type of encryption used on the bucket where export data is stored. Valid values for S3SseAlgorithm * are: *

    *
      *
    • *

      * AES256 - server-side encryption with Amazon S3 managed keys *

      *
    • *
    • *

      * KMS - server-side encryption with AWS KMS managed keys *

      *
    • *
    * * @return Type of encryption used on the bucket where export data is stored. Valid values for * S3SseAlgorithm are:

    *
      *
    • *

      * AES256 - server-side encryption with Amazon S3 managed keys *

      *
    • *
    • *

      * KMS - server-side encryption with AWS KMS managed keys *

      *
    • * @see S3SseAlgorithm */ public String getS3SseAlgorithm() { return this.s3SseAlgorithm; } /** *

      * Type of encryption used on the bucket where export data is stored. Valid values for S3SseAlgorithm * are: *

      *
        *
      • *

        * AES256 - server-side encryption with Amazon S3 managed keys *

        *
      • *
      • *

        * KMS - server-side encryption with AWS KMS managed keys *

        *
      • *
      * * @param s3SseAlgorithm * Type of encryption used on the bucket where export data is stored. Valid values for * S3SseAlgorithm are:

      *
        *
      • *

        * AES256 - server-side encryption with Amazon S3 managed keys *

        *
      • *
      • *

        * KMS - server-side encryption with AWS KMS managed keys *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. * @see S3SseAlgorithm */ public ExportDescription withS3SseAlgorithm(String s3SseAlgorithm) { setS3SseAlgorithm(s3SseAlgorithm); return this; } /** *

        * Type of encryption used on the bucket where export data is stored. Valid values for S3SseAlgorithm * are: *

        *
          *
        • *

          * AES256 - server-side encryption with Amazon S3 managed keys *

          *
        • *
        • *

          * KMS - server-side encryption with AWS KMS managed keys *

          *
        • *
        * * @param s3SseAlgorithm * Type of encryption used on the bucket where export data is stored. Valid values for * S3SseAlgorithm are:

        *
          *
        • *

          * AES256 - server-side encryption with Amazon S3 managed keys *

          *
        • *
        • *

          * KMS - server-side encryption with AWS KMS managed keys *

          *
        • * @return Returns a reference to this object so that method calls can be chained together. * @see S3SseAlgorithm */ public ExportDescription withS3SseAlgorithm(S3SseAlgorithm s3SseAlgorithm) { this.s3SseAlgorithm = s3SseAlgorithm.toString(); return this; } /** *

          * The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is stored (if applicable). *

          * * @param s3SseKmsKeyId * The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is stored (if * applicable). */ public void setS3SseKmsKeyId(String s3SseKmsKeyId) { this.s3SseKmsKeyId = s3SseKmsKeyId; } /** *

          * The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is stored (if applicable). *

          * * @return The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is stored (if * applicable). */ public String getS3SseKmsKeyId() { return this.s3SseKmsKeyId; } /** *

          * The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is stored (if applicable). *

          * * @param s3SseKmsKeyId * The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is stored (if * applicable). * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withS3SseKmsKeyId(String s3SseKmsKeyId) { setS3SseKmsKeyId(s3SseKmsKeyId); return this; } /** *

          * Status code for the result of the failed export. *

          * * @param failureCode * Status code for the result of the failed export. */ public void setFailureCode(String failureCode) { this.failureCode = failureCode; } /** *

          * Status code for the result of the failed export. *

          * * @return Status code for the result of the failed export. */ public String getFailureCode() { return this.failureCode; } /** *

          * Status code for the result of the failed export. *

          * * @param failureCode * Status code for the result of the failed export. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withFailureCode(String failureCode) { setFailureCode(failureCode); return this; } /** *

          * Export failure reason description. *

          * * @param failureMessage * Export failure reason description. */ public void setFailureMessage(String failureMessage) { this.failureMessage = failureMessage; } /** *

          * Export failure reason description. *

          * * @return Export failure reason description. */ public String getFailureMessage() { return this.failureMessage; } /** *

          * Export failure reason description. *

          * * @param failureMessage * Export failure reason description. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withFailureMessage(String failureMessage) { setFailureMessage(failureMessage); return this; } /** *

          * The format of the exported data. Valid values for ExportFormat are DYNAMODB_JSON or * ION. *

          * * @param exportFormat * The format of the exported data. Valid values for ExportFormat are DYNAMODB_JSON * or ION. * @see ExportFormat */ public void setExportFormat(String exportFormat) { this.exportFormat = exportFormat; } /** *

          * The format of the exported data. Valid values for ExportFormat are DYNAMODB_JSON or * ION. *

          * * @return The format of the exported data. Valid values for ExportFormat are * DYNAMODB_JSON or ION. * @see ExportFormat */ public String getExportFormat() { return this.exportFormat; } /** *

          * The format of the exported data. Valid values for ExportFormat are DYNAMODB_JSON or * ION. *

          * * @param exportFormat * The format of the exported data. Valid values for ExportFormat are DYNAMODB_JSON * or ION. * @return Returns a reference to this object so that method calls can be chained together. * @see ExportFormat */ public ExportDescription withExportFormat(String exportFormat) { setExportFormat(exportFormat); return this; } /** *

          * The format of the exported data. Valid values for ExportFormat are DYNAMODB_JSON or * ION. *

          * * @param exportFormat * The format of the exported data. Valid values for ExportFormat are DYNAMODB_JSON * or ION. * @return Returns a reference to this object so that method calls can be chained together. * @see ExportFormat */ public ExportDescription withExportFormat(ExportFormat exportFormat) { this.exportFormat = exportFormat.toString(); return this; } /** *

          * The billable size of the table export. *

          * * @param billedSizeBytes * The billable size of the table export. */ public void setBilledSizeBytes(Long billedSizeBytes) { this.billedSizeBytes = billedSizeBytes; } /** *

          * The billable size of the table export. *

          * * @return The billable size of the table export. */ public Long getBilledSizeBytes() { return this.billedSizeBytes; } /** *

          * The billable size of the table export. *

          * * @param billedSizeBytes * The billable size of the table export. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withBilledSizeBytes(Long billedSizeBytes) { setBilledSizeBytes(billedSizeBytes); return this; } /** *

          * The number of items exported. *

          * * @param itemCount * The number of items exported. */ public void setItemCount(Long itemCount) { this.itemCount = itemCount; } /** *

          * The number of items exported. *

          * * @return The number of items exported. */ public Long getItemCount() { return this.itemCount; } /** *

          * The number of items exported. *

          * * @param itemCount * The number of items exported. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportDescription withItemCount(Long itemCount) { setItemCount(itemCount); 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 (getExportArn() != null) sb.append("ExportArn: ").append(getExportArn()).append(","); if (getExportStatus() != null) sb.append("ExportStatus: ").append(getExportStatus()).append(","); if (getStartTime() != null) sb.append("StartTime: ").append(getStartTime()).append(","); if (getEndTime() != null) sb.append("EndTime: ").append(getEndTime()).append(","); if (getExportManifest() != null) sb.append("ExportManifest: ").append(getExportManifest()).append(","); if (getTableArn() != null) sb.append("TableArn: ").append(getTableArn()).append(","); if (getTableId() != null) sb.append("TableId: ").append(getTableId()).append(","); if (getExportTime() != null) sb.append("ExportTime: ").append(getExportTime()).append(","); if (getClientToken() != null) sb.append("ClientToken: ").append(getClientToken()).append(","); if (getS3Bucket() != null) sb.append("S3Bucket: ").append(getS3Bucket()).append(","); if (getS3BucketOwner() != null) sb.append("S3BucketOwner: ").append(getS3BucketOwner()).append(","); if (getS3Prefix() != null) sb.append("S3Prefix: ").append(getS3Prefix()).append(","); if (getS3SseAlgorithm() != null) sb.append("S3SseAlgorithm: ").append(getS3SseAlgorithm()).append(","); if (getS3SseKmsKeyId() != null) sb.append("S3SseKmsKeyId: ").append(getS3SseKmsKeyId()).append(","); if (getFailureCode() != null) sb.append("FailureCode: ").append(getFailureCode()).append(","); if (getFailureMessage() != null) sb.append("FailureMessage: ").append(getFailureMessage()).append(","); if (getExportFormat() != null) sb.append("ExportFormat: ").append(getExportFormat()).append(","); if (getBilledSizeBytes() != null) sb.append("BilledSizeBytes: ").append(getBilledSizeBytes()).append(","); if (getItemCount() != null) sb.append("ItemCount: ").append(getItemCount()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ExportDescription == false) return false; ExportDescription other = (ExportDescription) obj; if (other.getExportArn() == null ^ this.getExportArn() == null) return false; if (other.getExportArn() != null && other.getExportArn().equals(this.getExportArn()) == false) return false; if (other.getExportStatus() == null ^ this.getExportStatus() == null) return false; if (other.getExportStatus() != null && other.getExportStatus().equals(this.getExportStatus()) == false) return false; if (other.getStartTime() == null ^ this.getStartTime() == null) return false; if (other.getStartTime() != null && other.getStartTime().equals(this.getStartTime()) == 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.getExportManifest() == null ^ this.getExportManifest() == null) return false; if (other.getExportManifest() != null && other.getExportManifest().equals(this.getExportManifest()) == false) return false; if (other.getTableArn() == null ^ this.getTableArn() == null) return false; if (other.getTableArn() != null && other.getTableArn().equals(this.getTableArn()) == false) return false; if (other.getTableId() == null ^ this.getTableId() == null) return false; if (other.getTableId() != null && other.getTableId().equals(this.getTableId()) == false) return false; if (other.getExportTime() == null ^ this.getExportTime() == null) return false; if (other.getExportTime() != null && other.getExportTime().equals(this.getExportTime()) == false) return false; if (other.getClientToken() == null ^ this.getClientToken() == null) return false; if (other.getClientToken() != null && other.getClientToken().equals(this.getClientToken()) == false) return false; if (other.getS3Bucket() == null ^ this.getS3Bucket() == null) return false; if (other.getS3Bucket() != null && other.getS3Bucket().equals(this.getS3Bucket()) == false) return false; if (other.getS3BucketOwner() == null ^ this.getS3BucketOwner() == null) return false; if (other.getS3BucketOwner() != null && other.getS3BucketOwner().equals(this.getS3BucketOwner()) == false) return false; if (other.getS3Prefix() == null ^ this.getS3Prefix() == null) return false; if (other.getS3Prefix() != null && other.getS3Prefix().equals(this.getS3Prefix()) == false) return false; if (other.getS3SseAlgorithm() == null ^ this.getS3SseAlgorithm() == null) return false; if (other.getS3SseAlgorithm() != null && other.getS3SseAlgorithm().equals(this.getS3SseAlgorithm()) == false) return false; if (other.getS3SseKmsKeyId() == null ^ this.getS3SseKmsKeyId() == null) return false; if (other.getS3SseKmsKeyId() != null && other.getS3SseKmsKeyId().equals(this.getS3SseKmsKeyId()) == false) return false; if (other.getFailureCode() == null ^ this.getFailureCode() == null) return false; if (other.getFailureCode() != null && other.getFailureCode().equals(this.getFailureCode()) == false) return false; if (other.getFailureMessage() == null ^ this.getFailureMessage() == null) return false; if (other.getFailureMessage() != null && other.getFailureMessage().equals(this.getFailureMessage()) == false) return false; if (other.getExportFormat() == null ^ this.getExportFormat() == null) return false; if (other.getExportFormat() != null && other.getExportFormat().equals(this.getExportFormat()) == false) return false; if (other.getBilledSizeBytes() == null ^ this.getBilledSizeBytes() == null) return false; if (other.getBilledSizeBytes() != null && other.getBilledSizeBytes().equals(this.getBilledSizeBytes()) == false) return false; if (other.getItemCount() == null ^ this.getItemCount() == null) return false; if (other.getItemCount() != null && other.getItemCount().equals(this.getItemCount()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getExportArn() == null) ? 0 : getExportArn().hashCode()); hashCode = prime * hashCode + ((getExportStatus() == null) ? 0 : getExportStatus().hashCode()); hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); hashCode = prime * hashCode + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); hashCode = prime * hashCode + ((getExportManifest() == null) ? 0 : getExportManifest().hashCode()); hashCode = prime * hashCode + ((getTableArn() == null) ? 0 : getTableArn().hashCode()); hashCode = prime * hashCode + ((getTableId() == null) ? 0 : getTableId().hashCode()); hashCode = prime * hashCode + ((getExportTime() == null) ? 0 : getExportTime().hashCode()); hashCode = prime * hashCode + ((getClientToken() == null) ? 0 : getClientToken().hashCode()); hashCode = prime * hashCode + ((getS3Bucket() == null) ? 0 : getS3Bucket().hashCode()); hashCode = prime * hashCode + ((getS3BucketOwner() == null) ? 0 : getS3BucketOwner().hashCode()); hashCode = prime * hashCode + ((getS3Prefix() == null) ? 0 : getS3Prefix().hashCode()); hashCode = prime * hashCode + ((getS3SseAlgorithm() == null) ? 0 : getS3SseAlgorithm().hashCode()); hashCode = prime * hashCode + ((getS3SseKmsKeyId() == null) ? 0 : getS3SseKmsKeyId().hashCode()); hashCode = prime * hashCode + ((getFailureCode() == null) ? 0 : getFailureCode().hashCode()); hashCode = prime * hashCode + ((getFailureMessage() == null) ? 0 : getFailureMessage().hashCode()); hashCode = prime * hashCode + ((getExportFormat() == null) ? 0 : getExportFormat().hashCode()); hashCode = prime * hashCode + ((getBilledSizeBytes() == null) ? 0 : getBilledSizeBytes().hashCode()); hashCode = prime * hashCode + ((getItemCount() == null) ? 0 : getItemCount().hashCode()); return hashCode; } @Override public ExportDescription clone() { try { return (ExportDescription) 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.dynamodbv2.model.transform.ExportDescriptionMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy