/* * 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.finspacedata.model; import java.io.Serializable; import javax.annotation.Generated; /** * Response from retrieving a dataview, which includes details on the target database and table name * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetDataViewResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* Flag to indicate Dataview should be updated automatically. *

*/ private Boolean autoUpdate; /** *

* Ordered set of column names used to partition data. *

*/ private java.util.List partitionColumns; /** *

* The unique identifier for the Dataset used in the Dataview. *

*/ private String datasetId; /** *

* Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value * for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

*/ private Long asOfTimestamp; /** *

* Information about an error that occurred for the Dataview. *

*/ private DataViewErrorInfo errorInfo; /** *

* The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For example, * the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

*/ private Long lastModifiedTime; /** *

* The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in * milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

*/ private Long createTime; /** *

* Columns to be used for sorting the data. *

*/ private java.util.List sortColumns; /** *

* The unique identifier for the Dataview. *

*/ private String dataViewId; /** *

* The ARN identifier of the Dataview. *

*/ private String dataViewArn; /** *

* Options that define the destination type for the Dataview. *

*/ private DataViewDestinationTypeParams destinationTypeParams; /** *

* The status of a Dataview creation. *

*
    *
  • *

    * RUNNING – Dataview creation is running. *

    *
  • *
  • *

    * STARTING – Dataview creation is starting. *

    *
  • *
  • *

    * FAILED – Dataview creation has failed. *

    *
  • *
  • *

    * CANCELLED – Dataview creation has been cancelled. *

    *
  • *
  • *

    * TIMEOUT – Dataview creation has timed out. *

    *
  • *
  • *

    * SUCCESS – Dataview creation has succeeded. *

    *
  • *
  • *

    * PENDING – Dataview creation is pending. *

    *
  • *
  • *

    * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed. *

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

* Flag to indicate Dataview should be updated automatically. *

* * @param autoUpdate * Flag to indicate Dataview should be updated automatically. */ public void setAutoUpdate(Boolean autoUpdate) { this.autoUpdate = autoUpdate; } /** *

* Flag to indicate Dataview should be updated automatically. *

* * @return Flag to indicate Dataview should be updated automatically. */ public Boolean getAutoUpdate() { return this.autoUpdate; } /** *

* Flag to indicate Dataview should be updated automatically. *

* * @param autoUpdate * Flag to indicate Dataview should be updated automatically. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withAutoUpdate(Boolean autoUpdate) { setAutoUpdate(autoUpdate); return this; } /** *

* Flag to indicate Dataview should be updated automatically. *

* * @return Flag to indicate Dataview should be updated automatically. */ public Boolean isAutoUpdate() { return this.autoUpdate; } /** *

* Ordered set of column names used to partition data. *

* * @return Ordered set of column names used to partition data. */ public java.util.List getPartitionColumns() { return partitionColumns; } /** *

* Ordered set of column names used to partition data. *

* * @param partitionColumns * Ordered set of column names used to partition data. */ public void setPartitionColumns(java.util.Collection partitionColumns) { if (partitionColumns == null) { this.partitionColumns = null; return; } this.partitionColumns = new java.util.ArrayList(partitionColumns); } /** *

* Ordered set of column names used to partition data. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setPartitionColumns(java.util.Collection)} or {@link #withPartitionColumns(java.util.Collection)} if you * want to override the existing values. *

* * @param partitionColumns * Ordered set of column names used to partition data. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withPartitionColumns(String... partitionColumns) { if (this.partitionColumns == null) { setPartitionColumns(new java.util.ArrayList(partitionColumns.length)); } for (String ele : partitionColumns) { this.partitionColumns.add(ele); } return this; } /** *

* Ordered set of column names used to partition data. *

* * @param partitionColumns * Ordered set of column names used to partition data. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withPartitionColumns(java.util.Collection partitionColumns) { setPartitionColumns(partitionColumns); return this; } /** *

* The unique identifier for the Dataset used in the Dataview. *

* * @param datasetId * The unique identifier for the Dataset used in the Dataview. */ public void setDatasetId(String datasetId) { this.datasetId = datasetId; } /** *

* The unique identifier for the Dataset used in the Dataview. *

* * @return The unique identifier for the Dataset used in the Dataview. */ public String getDatasetId() { return this.datasetId; } /** *

* The unique identifier for the Dataset used in the Dataview. *

* * @param datasetId * The unique identifier for the Dataset used in the Dataview. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withDatasetId(String datasetId) { setDatasetId(datasetId); return this; } /** *

* Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value * for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

* * @param asOfTimestamp * Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, * the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. */ public void setAsOfTimestamp(Long asOfTimestamp) { this.asOfTimestamp = asOfTimestamp; } /** *

* Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value * for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

* * @return Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, * the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. */ public Long getAsOfTimestamp() { return this.asOfTimestamp; } /** *

* Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value * for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

* * @param asOfTimestamp * Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, * the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withAsOfTimestamp(Long asOfTimestamp) { setAsOfTimestamp(asOfTimestamp); return this; } /** *

* Information about an error that occurred for the Dataview. *

* * @param errorInfo * Information about an error that occurred for the Dataview. */ public void setErrorInfo(DataViewErrorInfo errorInfo) { this.errorInfo = errorInfo; } /** *

* Information about an error that occurred for the Dataview. *

* * @return Information about an error that occurred for the Dataview. */ public DataViewErrorInfo getErrorInfo() { return this.errorInfo; } /** *

* Information about an error that occurred for the Dataview. *

* * @param errorInfo * Information about an error that occurred for the Dataview. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withErrorInfo(DataViewErrorInfo errorInfo) { setErrorInfo(errorInfo); return this; } /** *

* The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For example, * the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

* * @param lastModifiedTime * The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For * example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. */ public void setLastModifiedTime(Long lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** *

* The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For example, * the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

* * @return The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For * example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. */ public Long getLastModifiedTime() { return this.lastModifiedTime; } /** *

* The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For example, * the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

* * @param lastModifiedTime * The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For * example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withLastModifiedTime(Long lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** *

* The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in * milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

* * @param createTime * The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in * milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as * 1635768000000. */ public void setCreateTime(Long createTime) { this.createTime = createTime; } /** *

* The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in * milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

* * @return The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in * milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as * 1635768000000. */ public Long getCreateTime() { return this.createTime; } /** *

* The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in * milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

* * @param createTime * The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in * milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as * 1635768000000. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withCreateTime(Long createTime) { setCreateTime(createTime); return this; } /** *

* Columns to be used for sorting the data. *

* * @return Columns to be used for sorting the data. */ public java.util.List getSortColumns() { return sortColumns; } /** *

* Columns to be used for sorting the data. *

* * @param sortColumns * Columns to be used for sorting the data. */ public void setSortColumns(java.util.Collection sortColumns) { if (sortColumns == null) { this.sortColumns = null; return; } this.sortColumns = new java.util.ArrayList(sortColumns); } /** *

* Columns to be used for sorting the data. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setSortColumns(java.util.Collection)} or {@link #withSortColumns(java.util.Collection)} if you want to * override the existing values. *

* * @param sortColumns * Columns to be used for sorting the data. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withSortColumns(String... sortColumns) { if (this.sortColumns == null) { setSortColumns(new java.util.ArrayList(sortColumns.length)); } for (String ele : sortColumns) { this.sortColumns.add(ele); } return this; } /** *

* Columns to be used for sorting the data. *

* * @param sortColumns * Columns to be used for sorting the data. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withSortColumns(java.util.Collection sortColumns) { setSortColumns(sortColumns); return this; } /** *

* The unique identifier for the Dataview. *

* * @param dataViewId * The unique identifier for the Dataview. */ public void setDataViewId(String dataViewId) { this.dataViewId = dataViewId; } /** *

* The unique identifier for the Dataview. *

* * @return The unique identifier for the Dataview. */ public String getDataViewId() { return this.dataViewId; } /** *

* The unique identifier for the Dataview. *

* * @param dataViewId * The unique identifier for the Dataview. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withDataViewId(String dataViewId) { setDataViewId(dataViewId); return this; } /** *

* The ARN identifier of the Dataview. *

* * @param dataViewArn * The ARN identifier of the Dataview. */ public void setDataViewArn(String dataViewArn) { this.dataViewArn = dataViewArn; } /** *

* The ARN identifier of the Dataview. *

* * @return The ARN identifier of the Dataview. */ public String getDataViewArn() { return this.dataViewArn; } /** *

* The ARN identifier of the Dataview. *

* * @param dataViewArn * The ARN identifier of the Dataview. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withDataViewArn(String dataViewArn) { setDataViewArn(dataViewArn); return this; } /** *

* Options that define the destination type for the Dataview. *

* * @param destinationTypeParams * Options that define the destination type for the Dataview. */ public void setDestinationTypeParams(DataViewDestinationTypeParams destinationTypeParams) { this.destinationTypeParams = destinationTypeParams; } /** *

* Options that define the destination type for the Dataview. *

* * @return Options that define the destination type for the Dataview. */ public DataViewDestinationTypeParams getDestinationTypeParams() { return this.destinationTypeParams; } /** *

* Options that define the destination type for the Dataview. *

* * @param destinationTypeParams * Options that define the destination type for the Dataview. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataViewResult withDestinationTypeParams(DataViewDestinationTypeParams destinationTypeParams) { setDestinationTypeParams(destinationTypeParams); return this; } /** *

* The status of a Dataview creation. *

*
    *
  • *

    * RUNNING – Dataview creation is running. *

    *
  • *
  • *

    * STARTING – Dataview creation is starting. *

    *
  • *
  • *

    * FAILED – Dataview creation has failed. *

    *
  • *
  • *

    * CANCELLED – Dataview creation has been cancelled. *

    *
  • *
  • *

    * TIMEOUT – Dataview creation has timed out. *

    *
  • *
  • *

    * SUCCESS – Dataview creation has succeeded. *

    *
  • *
  • *

    * PENDING – Dataview creation is pending. *

    *
  • *
  • *

    * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed. *

    *
  • *
* * @param status * The status of a Dataview creation.

*
    *
  • *

    * RUNNING – Dataview creation is running. *

    *
  • *
  • *

    * STARTING – Dataview creation is starting. *

    *
  • *
  • *

    * FAILED – Dataview creation has failed. *

    *
  • *
  • *

    * CANCELLED – Dataview creation has been cancelled. *

    *
  • *
  • *

    * TIMEOUT – Dataview creation has timed out. *

    *
  • *
  • *

    * SUCCESS – Dataview creation has succeeded. *

    *
  • *
  • *

    * PENDING – Dataview creation is pending. *

    *
  • *
  • *

    * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed. *

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

    * The status of a Dataview creation. *

    *
      *
    • *

      * RUNNING – Dataview creation is running. *

      *
    • *
    • *

      * STARTING – Dataview creation is starting. *

      *
    • *
    • *

      * FAILED – Dataview creation has failed. *

      *
    • *
    • *

      * CANCELLED – Dataview creation has been cancelled. *

      *
    • *
    • *

      * TIMEOUT – Dataview creation has timed out. *

      *
    • *
    • *

      * SUCCESS – Dataview creation has succeeded. *

      *
    • *
    • *

      * PENDING – Dataview creation is pending. *

      *
    • *
    • *

      * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed. *

      *
    • *
    * * @return The status of a Dataview creation.

    *
      *
    • *

      * RUNNING – Dataview creation is running. *

      *
    • *
    • *

      * STARTING – Dataview creation is starting. *

      *
    • *
    • *

      * FAILED – Dataview creation has failed. *

      *
    • *
    • *

      * CANCELLED – Dataview creation has been cancelled. *

      *
    • *
    • *

      * TIMEOUT – Dataview creation has timed out. *

      *
    • *
    • *

      * SUCCESS – Dataview creation has succeeded. *

      *
    • *
    • *

      * PENDING – Dataview creation is pending. *

      *
    • *
    • *

      * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed. *

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

      * The status of a Dataview creation. *

      *
        *
      • *

        * RUNNING – Dataview creation is running. *

        *
      • *
      • *

        * STARTING – Dataview creation is starting. *

        *
      • *
      • *

        * FAILED – Dataview creation has failed. *

        *
      • *
      • *

        * CANCELLED – Dataview creation has been cancelled. *

        *
      • *
      • *

        * TIMEOUT – Dataview creation has timed out. *

        *
      • *
      • *

        * SUCCESS – Dataview creation has succeeded. *

        *
      • *
      • *

        * PENDING – Dataview creation is pending. *

        *
      • *
      • *

        * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed. *

        *
      • *
      * * @param status * The status of a Dataview creation.

      *
        *
      • *

        * RUNNING – Dataview creation is running. *

        *
      • *
      • *

        * STARTING – Dataview creation is starting. *

        *
      • *
      • *

        * FAILED – Dataview creation has failed. *

        *
      • *
      • *

        * CANCELLED – Dataview creation has been cancelled. *

        *
      • *
      • *

        * TIMEOUT – Dataview creation has timed out. *

        *
      • *
      • *

        * SUCCESS – Dataview creation has succeeded. *

        *
      • *
      • *

        * PENDING – Dataview creation is pending. *

        *
      • *
      • *

        * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed. *

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

        * The status of a Dataview creation. *

        *
          *
        • *

          * RUNNING – Dataview creation is running. *

          *
        • *
        • *

          * STARTING – Dataview creation is starting. *

          *
        • *
        • *

          * FAILED – Dataview creation has failed. *

          *
        • *
        • *

          * CANCELLED – Dataview creation has been cancelled. *

          *
        • *
        • *

          * TIMEOUT – Dataview creation has timed out. *

          *
        • *
        • *

          * SUCCESS – Dataview creation has succeeded. *

          *
        • *
        • *

          * PENDING – Dataview creation is pending. *

          *
        • *
        • *

          * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed. *

          *
        • *
        * * @param status * The status of a Dataview creation.

        *
          *
        • *

          * RUNNING – Dataview creation is running. *

          *
        • *
        • *

          * STARTING – Dataview creation is starting. *

          *
        • *
        • *

          * FAILED – Dataview creation has failed. *

          *
        • *
        • *

          * CANCELLED – Dataview creation has been cancelled. *

          *
        • *
        • *

          * TIMEOUT – Dataview creation has timed out. *

          *
        • *
        • *

          * SUCCESS – Dataview creation has succeeded. *

          *
        • *
        • *

          * PENDING – Dataview creation is pending. *

          *
        • *
        • *

          * FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed. *

          *
        • * @return Returns a reference to this object so that method calls can be chained together. * @see DataViewStatus */ public GetDataViewResult withStatus(DataViewStatus status) { this.status = status.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 (getAutoUpdate() != null) sb.append("AutoUpdate: ").append(getAutoUpdate()).append(","); if (getPartitionColumns() != null) sb.append("PartitionColumns: ").append(getPartitionColumns()).append(","); if (getDatasetId() != null) sb.append("DatasetId: ").append(getDatasetId()).append(","); if (getAsOfTimestamp() != null) sb.append("AsOfTimestamp: ").append(getAsOfTimestamp()).append(","); if (getErrorInfo() != null) sb.append("ErrorInfo: ").append(getErrorInfo()).append(","); if (getLastModifiedTime() != null) sb.append("LastModifiedTime: ").append(getLastModifiedTime()).append(","); if (getCreateTime() != null) sb.append("CreateTime: ").append(getCreateTime()).append(","); if (getSortColumns() != null) sb.append("SortColumns: ").append(getSortColumns()).append(","); if (getDataViewId() != null) sb.append("DataViewId: ").append(getDataViewId()).append(","); if (getDataViewArn() != null) sb.append("DataViewArn: ").append(getDataViewArn()).append(","); if (getDestinationTypeParams() != null) sb.append("DestinationTypeParams: ").append(getDestinationTypeParams()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetDataViewResult == false) return false; GetDataViewResult other = (GetDataViewResult) obj; if (other.getAutoUpdate() == null ^ this.getAutoUpdate() == null) return false; if (other.getAutoUpdate() != null && other.getAutoUpdate().equals(this.getAutoUpdate()) == false) return false; if (other.getPartitionColumns() == null ^ this.getPartitionColumns() == null) return false; if (other.getPartitionColumns() != null && other.getPartitionColumns().equals(this.getPartitionColumns()) == false) return false; if (other.getDatasetId() == null ^ this.getDatasetId() == null) return false; if (other.getDatasetId() != null && other.getDatasetId().equals(this.getDatasetId()) == false) return false; if (other.getAsOfTimestamp() == null ^ this.getAsOfTimestamp() == null) return false; if (other.getAsOfTimestamp() != null && other.getAsOfTimestamp().equals(this.getAsOfTimestamp()) == false) return false; if (other.getErrorInfo() == null ^ this.getErrorInfo() == null) return false; if (other.getErrorInfo() != null && other.getErrorInfo().equals(this.getErrorInfo()) == false) return false; if (other.getLastModifiedTime() == null ^ this.getLastModifiedTime() == null) return false; if (other.getLastModifiedTime() != null && other.getLastModifiedTime().equals(this.getLastModifiedTime()) == false) return false; if (other.getCreateTime() == null ^ this.getCreateTime() == null) return false; if (other.getCreateTime() != null && other.getCreateTime().equals(this.getCreateTime()) == false) return false; if (other.getSortColumns() == null ^ this.getSortColumns() == null) return false; if (other.getSortColumns() != null && other.getSortColumns().equals(this.getSortColumns()) == false) return false; if (other.getDataViewId() == null ^ this.getDataViewId() == null) return false; if (other.getDataViewId() != null && other.getDataViewId().equals(this.getDataViewId()) == false) return false; if (other.getDataViewArn() == null ^ this.getDataViewArn() == null) return false; if (other.getDataViewArn() != null && other.getDataViewArn().equals(this.getDataViewArn()) == false) return false; if (other.getDestinationTypeParams() == null ^ this.getDestinationTypeParams() == null) return false; if (other.getDestinationTypeParams() != null && other.getDestinationTypeParams().equals(this.getDestinationTypeParams()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAutoUpdate() == null) ? 0 : getAutoUpdate().hashCode()); hashCode = prime * hashCode + ((getPartitionColumns() == null) ? 0 : getPartitionColumns().hashCode()); hashCode = prime * hashCode + ((getDatasetId() == null) ? 0 : getDatasetId().hashCode()); hashCode = prime * hashCode + ((getAsOfTimestamp() == null) ? 0 : getAsOfTimestamp().hashCode()); hashCode = prime * hashCode + ((getErrorInfo() == null) ? 0 : getErrorInfo().hashCode()); hashCode = prime * hashCode + ((getLastModifiedTime() == null) ? 0 : getLastModifiedTime().hashCode()); hashCode = prime * hashCode + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); hashCode = prime * hashCode + ((getSortColumns() == null) ? 0 : getSortColumns().hashCode()); hashCode = prime * hashCode + ((getDataViewId() == null) ? 0 : getDataViewId().hashCode()); hashCode = prime * hashCode + ((getDataViewArn() == null) ? 0 : getDataViewArn().hashCode()); hashCode = prime * hashCode + ((getDestinationTypeParams() == null) ? 0 : getDestinationTypeParams().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); return hashCode; } @Override public GetDataViewResult clone() { try { return (GetDataViewResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }