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

* A count of OpsItems. *

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

* The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. *

*/ private String createdBy; /** *

* The date and time the OpsItem was created. *

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

* The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. *

*/ private String lastModifiedBy; /** *

* The date and time the OpsItem was last updated. *

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

* The importance of this OpsItem in relation to other OpsItems in the system. *

*/ private Integer priority; /** *

* The impacted Amazon Web Services resource. *

*/ private String source; /** *

* The OpsItem status. Status can be Open, In Progress, or Resolved. *

*/ private String status; /** *

* The ID of the OpsItem. *

*/ private String opsItemId; /** *

* A short heading that describes the nature of the OpsItem and the impacted resource. *

*/ private String title; /** *

* Operational data is custom data that provides useful reference details about the OpsItem. *

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

* A list of OpsItems by category. *

*/ private String category; /** *

* A list of OpsItems by severity. *

*/ private String severity; /** *

* The type of OpsItem. Systems Manager supports the following types of OpsItems: *

* */ private String opsItemType; /** *

* The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest * . *

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

* The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest. *

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

* The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem * type /aws/changerequest. *

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

* The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem * type /aws/changerequest. *

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

* The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. *

* * @param createdBy * The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. */ public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } /** *

* The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. *

* * @return The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. */ public String getCreatedBy() { return this.createdBy; } /** *

* The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. *

* * @param createdBy * The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withCreatedBy(String createdBy) { setCreatedBy(createdBy); return this; } /** *

* The date and time the OpsItem was created. *

* * @param createdTime * The date and time the OpsItem was created. */ public void setCreatedTime(java.util.Date createdTime) { this.createdTime = createdTime; } /** *

* The date and time the OpsItem was created. *

* * @return The date and time the OpsItem was created. */ public java.util.Date getCreatedTime() { return this.createdTime; } /** *

* The date and time the OpsItem was created. *

* * @param createdTime * The date and time the OpsItem was created. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withCreatedTime(java.util.Date createdTime) { setCreatedTime(createdTime); return this; } /** *

* The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. *

* * @param lastModifiedBy * The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. */ public void setLastModifiedBy(String lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; } /** *

* The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. *

* * @return The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. */ public String getLastModifiedBy() { return this.lastModifiedBy; } /** *

* The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. *

* * @param lastModifiedBy * The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withLastModifiedBy(String lastModifiedBy) { setLastModifiedBy(lastModifiedBy); return this; } /** *

* The date and time the OpsItem was last updated. *

* * @param lastModifiedTime * The date and time the OpsItem was last updated. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** *

* The date and time the OpsItem was last updated. *

* * @return The date and time the OpsItem was last updated. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** *

* The date and time the OpsItem was last updated. *

* * @param lastModifiedTime * The date and time the OpsItem was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** *

* The importance of this OpsItem in relation to other OpsItems in the system. *

* * @param priority * The importance of this OpsItem in relation to other OpsItems in the system. */ public void setPriority(Integer priority) { this.priority = priority; } /** *

* The importance of this OpsItem in relation to other OpsItems in the system. *

* * @return The importance of this OpsItem in relation to other OpsItems in the system. */ public Integer getPriority() { return this.priority; } /** *

* The importance of this OpsItem in relation to other OpsItems in the system. *

* * @param priority * The importance of this OpsItem in relation to other OpsItems in the system. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withPriority(Integer priority) { setPriority(priority); return this; } /** *

* The impacted Amazon Web Services resource. *

* * @param source * The impacted Amazon Web Services resource. */ public void setSource(String source) { this.source = source; } /** *

* The impacted Amazon Web Services resource. *

* * @return The impacted Amazon Web Services resource. */ public String getSource() { return this.source; } /** *

* The impacted Amazon Web Services resource. *

* * @param source * The impacted Amazon Web Services resource. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withSource(String source) { setSource(source); return this; } /** *

* The OpsItem status. Status can be Open, In Progress, or Resolved. *

* * @param status * The OpsItem status. Status can be Open, In Progress, or Resolved. * @see OpsItemStatus */ public void setStatus(String status) { this.status = status; } /** *

* The OpsItem status. Status can be Open, In Progress, or Resolved. *

* * @return The OpsItem status. Status can be Open, In Progress, or Resolved. * @see OpsItemStatus */ public String getStatus() { return this.status; } /** *

* The OpsItem status. Status can be Open, In Progress, or Resolved. *

* * @param status * The OpsItem status. Status can be Open, In Progress, or Resolved. * @return Returns a reference to this object so that method calls can be chained together. * @see OpsItemStatus */ public OpsItemSummary withStatus(String status) { setStatus(status); return this; } /** *

* The OpsItem status. Status can be Open, In Progress, or Resolved. *

* * @param status * The OpsItem status. Status can be Open, In Progress, or Resolved. * @return Returns a reference to this object so that method calls can be chained together. * @see OpsItemStatus */ public OpsItemSummary withStatus(OpsItemStatus status) { this.status = status.toString(); return this; } /** *

* The ID of the OpsItem. *

* * @param opsItemId * The ID of the OpsItem. */ public void setOpsItemId(String opsItemId) { this.opsItemId = opsItemId; } /** *

* The ID of the OpsItem. *

* * @return The ID of the OpsItem. */ public String getOpsItemId() { return this.opsItemId; } /** *

* The ID of the OpsItem. *

* * @param opsItemId * The ID of the OpsItem. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withOpsItemId(String opsItemId) { setOpsItemId(opsItemId); return this; } /** *

* A short heading that describes the nature of the OpsItem and the impacted resource. *

* * @param title * A short heading that describes the nature of the OpsItem and the impacted resource. */ public void setTitle(String title) { this.title = title; } /** *

* A short heading that describes the nature of the OpsItem and the impacted resource. *

* * @return A short heading that describes the nature of the OpsItem and the impacted resource. */ public String getTitle() { return this.title; } /** *

* A short heading that describes the nature of the OpsItem and the impacted resource. *

* * @param title * A short heading that describes the nature of the OpsItem and the impacted resource. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withTitle(String title) { setTitle(title); return this; } /** *

* Operational data is custom data that provides useful reference details about the OpsItem. *

* * @return Operational data is custom data that provides useful reference details about the OpsItem. */ public java.util.Map getOperationalData() { return operationalData; } /** *

* Operational data is custom data that provides useful reference details about the OpsItem. *

* * @param operationalData * Operational data is custom data that provides useful reference details about the OpsItem. */ public void setOperationalData(java.util.Map operationalData) { this.operationalData = operationalData; } /** *

* Operational data is custom data that provides useful reference details about the OpsItem. *

* * @param operationalData * Operational data is custom data that provides useful reference details about the OpsItem. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withOperationalData(java.util.Map operationalData) { setOperationalData(operationalData); return this; } /** * Add a single OperationalData entry * * @see OpsItemSummary#withOperationalData * @returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary addOperationalDataEntry(String key, OpsItemDataValue value) { if (null == this.operationalData) { this.operationalData = new java.util.HashMap(); } if (this.operationalData.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.operationalData.put(key, value); return this; } /** * Removes all the entries added into OperationalData. * * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary clearOperationalDataEntries() { this.operationalData = null; return this; } /** *

* A list of OpsItems by category. *

* * @param category * A list of OpsItems by category. */ public void setCategory(String category) { this.category = category; } /** *

* A list of OpsItems by category. *

* * @return A list of OpsItems by category. */ public String getCategory() { return this.category; } /** *

* A list of OpsItems by category. *

* * @param category * A list of OpsItems by category. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withCategory(String category) { setCategory(category); return this; } /** *

* A list of OpsItems by severity. *

* * @param severity * A list of OpsItems by severity. */ public void setSeverity(String severity) { this.severity = severity; } /** *

* A list of OpsItems by severity. *

* * @return A list of OpsItems by severity. */ public String getSeverity() { return this.severity; } /** *

* A list of OpsItems by severity. *

* * @param severity * A list of OpsItems by severity. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withSeverity(String severity) { setSeverity(severity); return this; } /** *

* The type of OpsItem. Systems Manager supports the following types of OpsItems: *

*
    *
  • *

    * /aws/issue *

    *

    * This type of OpsItem is used for default OpsItems created by OpsCenter. *

    *
  • *
  • *

    * /aws/changerequest *

    *

    * This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *

    *
  • *
  • *

    * /aws/insights *

    *

    * This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *

    *
  • *
* * @param opsItemType * The type of OpsItem. Systems Manager supports the following types of OpsItems:

*
    *
  • *

    * /aws/issue *

    *

    * This type of OpsItem is used for default OpsItems created by OpsCenter. *

    *
  • *
  • *

    * /aws/changerequest *

    *

    * This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *

    *
  • *
  • *

    * /aws/insights *

    *

    * This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *

    *
  • */ public void setOpsItemType(String opsItemType) { this.opsItemType = opsItemType; } /** *

    * The type of OpsItem. Systems Manager supports the following types of OpsItems: *

    *
      *
    • *

      * /aws/issue *

      *

      * This type of OpsItem is used for default OpsItems created by OpsCenter. *

      *
    • *
    • *

      * /aws/changerequest *

      *

      * This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *

      *
    • *
    • *

      * /aws/insights *

      *

      * This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *

      *
    • *
    * * @return The type of OpsItem. Systems Manager supports the following types of OpsItems:

    *
      *
    • *

      * /aws/issue *

      *

      * This type of OpsItem is used for default OpsItems created by OpsCenter. *

      *
    • *
    • *

      * /aws/changerequest *

      *

      * This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *

      *
    • *
    • *

      * /aws/insights *

      *

      * This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *

      *
    • */ public String getOpsItemType() { return this.opsItemType; } /** *

      * The type of OpsItem. Systems Manager supports the following types of OpsItems: *

      *
        *
      • *

        * /aws/issue *

        *

        * This type of OpsItem is used for default OpsItems created by OpsCenter. *

        *
      • *
      • *

        * /aws/changerequest *

        *

        * This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *

        *
      • *
      • *

        * /aws/insights *

        *

        * This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *

        *
      • *
      * * @param opsItemType * The type of OpsItem. Systems Manager supports the following types of OpsItems:

      *
        *
      • *

        * /aws/issue *

        *

        * This type of OpsItem is used for default OpsItems created by OpsCenter. *

        *
      • *
      • *

        * /aws/changerequest *

        *

        * This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *

        *
      • *
      • *

        * /aws/insights *

        *

        * This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withOpsItemType(String opsItemType) { setOpsItemType(opsItemType); return this; } /** *

        * The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest * . *

        * * @param actualStartTime * The time a runbook workflow started. Currently reported only for the OpsItem type * /aws/changerequest. */ public void setActualStartTime(java.util.Date actualStartTime) { this.actualStartTime = actualStartTime; } /** *

        * The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest * . *

        * * @return The time a runbook workflow started. Currently reported only for the OpsItem type * /aws/changerequest. */ public java.util.Date getActualStartTime() { return this.actualStartTime; } /** *

        * The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest * . *

        * * @param actualStartTime * The time a runbook workflow started. Currently reported only for the OpsItem type * /aws/changerequest. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withActualStartTime(java.util.Date actualStartTime) { setActualStartTime(actualStartTime); return this; } /** *

        * The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest. *

        * * @param actualEndTime * The time a runbook workflow ended. Currently reported only for the OpsItem type * /aws/changerequest. */ public void setActualEndTime(java.util.Date actualEndTime) { this.actualEndTime = actualEndTime; } /** *

        * The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest. *

        * * @return The time a runbook workflow ended. Currently reported only for the OpsItem type * /aws/changerequest. */ public java.util.Date getActualEndTime() { return this.actualEndTime; } /** *

        * The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest. *

        * * @param actualEndTime * The time a runbook workflow ended. Currently reported only for the OpsItem type * /aws/changerequest. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withActualEndTime(java.util.Date actualEndTime) { setActualEndTime(actualEndTime); return this; } /** *

        * The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem * type /aws/changerequest. *

        * * @param plannedStartTime * The time specified in a change request for a runbook workflow to start. Currently supported only for the * OpsItem type /aws/changerequest. */ public void setPlannedStartTime(java.util.Date plannedStartTime) { this.plannedStartTime = plannedStartTime; } /** *

        * The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem * type /aws/changerequest. *

        * * @return The time specified in a change request for a runbook workflow to start. Currently supported only for the * OpsItem type /aws/changerequest. */ public java.util.Date getPlannedStartTime() { return this.plannedStartTime; } /** *

        * The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem * type /aws/changerequest. *

        * * @param plannedStartTime * The time specified in a change request for a runbook workflow to start. Currently supported only for the * OpsItem type /aws/changerequest. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withPlannedStartTime(java.util.Date plannedStartTime) { setPlannedStartTime(plannedStartTime); return this; } /** *

        * The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem * type /aws/changerequest. *

        * * @param plannedEndTime * The time specified in a change request for a runbook workflow to end. Currently supported only for the * OpsItem type /aws/changerequest. */ public void setPlannedEndTime(java.util.Date plannedEndTime) { this.plannedEndTime = plannedEndTime; } /** *

        * The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem * type /aws/changerequest. *

        * * @return The time specified in a change request for a runbook workflow to end. Currently supported only for the * OpsItem type /aws/changerequest. */ public java.util.Date getPlannedEndTime() { return this.plannedEndTime; } /** *

        * The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem * type /aws/changerequest. *

        * * @param plannedEndTime * The time specified in a change request for a runbook workflow to end. Currently supported only for the * OpsItem type /aws/changerequest. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItemSummary withPlannedEndTime(java.util.Date plannedEndTime) { setPlannedEndTime(plannedEndTime); 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 (getCreatedBy() != null) sb.append("CreatedBy: ").append(getCreatedBy()).append(","); if (getCreatedTime() != null) sb.append("CreatedTime: ").append(getCreatedTime()).append(","); if (getLastModifiedBy() != null) sb.append("LastModifiedBy: ").append(getLastModifiedBy()).append(","); if (getLastModifiedTime() != null) sb.append("LastModifiedTime: ").append(getLastModifiedTime()).append(","); if (getPriority() != null) sb.append("Priority: ").append(getPriority()).append(","); if (getSource() != null) sb.append("Source: ").append(getSource()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getOpsItemId() != null) sb.append("OpsItemId: ").append(getOpsItemId()).append(","); if (getTitle() != null) sb.append("Title: ").append(getTitle()).append(","); if (getOperationalData() != null) sb.append("OperationalData: ").append(getOperationalData()).append(","); if (getCategory() != null) sb.append("Category: ").append(getCategory()).append(","); if (getSeverity() != null) sb.append("Severity: ").append(getSeverity()).append(","); if (getOpsItemType() != null) sb.append("OpsItemType: ").append(getOpsItemType()).append(","); if (getActualStartTime() != null) sb.append("ActualStartTime: ").append(getActualStartTime()).append(","); if (getActualEndTime() != null) sb.append("ActualEndTime: ").append(getActualEndTime()).append(","); if (getPlannedStartTime() != null) sb.append("PlannedStartTime: ").append(getPlannedStartTime()).append(","); if (getPlannedEndTime() != null) sb.append("PlannedEndTime: ").append(getPlannedEndTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof OpsItemSummary == false) return false; OpsItemSummary other = (OpsItemSummary) obj; if (other.getCreatedBy() == null ^ this.getCreatedBy() == null) return false; if (other.getCreatedBy() != null && other.getCreatedBy().equals(this.getCreatedBy()) == false) return false; if (other.getCreatedTime() == null ^ this.getCreatedTime() == null) return false; if (other.getCreatedTime() != null && other.getCreatedTime().equals(this.getCreatedTime()) == false) return false; if (other.getLastModifiedBy() == null ^ this.getLastModifiedBy() == null) return false; if (other.getLastModifiedBy() != null && other.getLastModifiedBy().equals(this.getLastModifiedBy()) == 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.getPriority() == null ^ this.getPriority() == null) return false; if (other.getPriority() != null && other.getPriority().equals(this.getPriority()) == false) return false; if (other.getSource() == null ^ this.getSource() == null) return false; if (other.getSource() != null && other.getSource().equals(this.getSource()) == 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.getOpsItemId() == null ^ this.getOpsItemId() == null) return false; if (other.getOpsItemId() != null && other.getOpsItemId().equals(this.getOpsItemId()) == false) return false; if (other.getTitle() == null ^ this.getTitle() == null) return false; if (other.getTitle() != null && other.getTitle().equals(this.getTitle()) == false) return false; if (other.getOperationalData() == null ^ this.getOperationalData() == null) return false; if (other.getOperationalData() != null && other.getOperationalData().equals(this.getOperationalData()) == false) return false; if (other.getCategory() == null ^ this.getCategory() == null) return false; if (other.getCategory() != null && other.getCategory().equals(this.getCategory()) == false) return false; if (other.getSeverity() == null ^ this.getSeverity() == null) return false; if (other.getSeverity() != null && other.getSeverity().equals(this.getSeverity()) == false) return false; if (other.getOpsItemType() == null ^ this.getOpsItemType() == null) return false; if (other.getOpsItemType() != null && other.getOpsItemType().equals(this.getOpsItemType()) == false) return false; if (other.getActualStartTime() == null ^ this.getActualStartTime() == null) return false; if (other.getActualStartTime() != null && other.getActualStartTime().equals(this.getActualStartTime()) == false) return false; if (other.getActualEndTime() == null ^ this.getActualEndTime() == null) return false; if (other.getActualEndTime() != null && other.getActualEndTime().equals(this.getActualEndTime()) == false) return false; if (other.getPlannedStartTime() == null ^ this.getPlannedStartTime() == null) return false; if (other.getPlannedStartTime() != null && other.getPlannedStartTime().equals(this.getPlannedStartTime()) == false) return false; if (other.getPlannedEndTime() == null ^ this.getPlannedEndTime() == null) return false; if (other.getPlannedEndTime() != null && other.getPlannedEndTime().equals(this.getPlannedEndTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCreatedBy() == null) ? 0 : getCreatedBy().hashCode()); hashCode = prime * hashCode + ((getCreatedTime() == null) ? 0 : getCreatedTime().hashCode()); hashCode = prime * hashCode + ((getLastModifiedBy() == null) ? 0 : getLastModifiedBy().hashCode()); hashCode = prime * hashCode + ((getLastModifiedTime() == null) ? 0 : getLastModifiedTime().hashCode()); hashCode = prime * hashCode + ((getPriority() == null) ? 0 : getPriority().hashCode()); hashCode = prime * hashCode + ((getSource() == null) ? 0 : getSource().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getOpsItemId() == null) ? 0 : getOpsItemId().hashCode()); hashCode = prime * hashCode + ((getTitle() == null) ? 0 : getTitle().hashCode()); hashCode = prime * hashCode + ((getOperationalData() == null) ? 0 : getOperationalData().hashCode()); hashCode = prime * hashCode + ((getCategory() == null) ? 0 : getCategory().hashCode()); hashCode = prime * hashCode + ((getSeverity() == null) ? 0 : getSeverity().hashCode()); hashCode = prime * hashCode + ((getOpsItemType() == null) ? 0 : getOpsItemType().hashCode()); hashCode = prime * hashCode + ((getActualStartTime() == null) ? 0 : getActualStartTime().hashCode()); hashCode = prime * hashCode + ((getActualEndTime() == null) ? 0 : getActualEndTime().hashCode()); hashCode = prime * hashCode + ((getPlannedStartTime() == null) ? 0 : getPlannedStartTime().hashCode()); hashCode = prime * hashCode + ((getPlannedEndTime() == null) ? 0 : getPlannedEndTime().hashCode()); return hashCode; } @Override public OpsItemSummary clone() { try { return (OpsItemSummary) 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.simplesystemsmanagement.model.transform.OpsItemSummaryMarshaller.getInstance().marshall(this, protocolMarshaller); } }