/* * 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.ssmincidents.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateResponsePlanRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The actions that this response plan takes at the beginning of an incident. *

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

* The Amazon Resource Name (ARN) of the response plan. *

*/ private String arn; /** *

* The Chatbot chat channel used for collaboration during an incident. *

*

* Use the empty structure to remove the chat channel from the response plan. *

*/ private ChatChannel chatChannel; /** *

* A token ensuring that the operation is called only once with the specified details. *

*/ private String clientToken; /** *

* The long format name of the response plan. The display name can't contain spaces. *

*/ private String displayName; /** *

* The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an * incident. *

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

* The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the * same account. *

*/ private String incidentTemplateDedupeString; /** *

* Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan. *

*

* Possible impacts: *

* */ private Integer incidentTemplateImpact; /** *

* The Amazon SNS targets that are notified when updates are made to an incident. *

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

* A brief summary of the incident. This typically contains what has happened, what's currently happening, and next * steps. *

*/ private String incidentTemplateSummary; /** *

* Tags to assign to the template. When the StartIncident API action is called, Incident Manager * assigns the tags specified in the template to the incident. To call this action, you must also have permission to * call the TagResource API action for the incident record resource. *

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

* The short format name of the incident. The title can't contain spaces. *

*/ private String incidentTemplateTitle; /** *

* Information about third-party services integrated into the response plan. *

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

* The actions that this response plan takes at the beginning of an incident. *

* * @return The actions that this response plan takes at the beginning of an incident. */ public java.util.List getActions() { return actions; } /** *

* The actions that this response plan takes at the beginning of an incident. *

* * @param actions * The actions that this response plan takes at the beginning of an incident. */ public void setActions(java.util.Collection actions) { if (actions == null) { this.actions = null; return; } this.actions = new java.util.ArrayList(actions); } /** *

* The actions that this response plan takes at the beginning of an incident. *

*

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

* * @param actions * The actions that this response plan takes at the beginning of an incident. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withActions(Action... actions) { if (this.actions == null) { setActions(new java.util.ArrayList(actions.length)); } for (Action ele : actions) { this.actions.add(ele); } return this; } /** *

* The actions that this response plan takes at the beginning of an incident. *

* * @param actions * The actions that this response plan takes at the beginning of an incident. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withActions(java.util.Collection actions) { setActions(actions); return this; } /** *

* The Amazon Resource Name (ARN) of the response plan. *

* * @param arn * The Amazon Resource Name (ARN) of the response plan. */ public void setArn(String arn) { this.arn = arn; } /** *

* The Amazon Resource Name (ARN) of the response plan. *

* * @return The Amazon Resource Name (ARN) of the response plan. */ public String getArn() { return this.arn; } /** *

* The Amazon Resource Name (ARN) of the response plan. *

* * @param arn * The Amazon Resource Name (ARN) of the response plan. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withArn(String arn) { setArn(arn); return this; } /** *

* The Chatbot chat channel used for collaboration during an incident. *

*

* Use the empty structure to remove the chat channel from the response plan. *

* * @param chatChannel * The Chatbot chat channel used for collaboration during an incident.

*

* Use the empty structure to remove the chat channel from the response plan. */ public void setChatChannel(ChatChannel chatChannel) { this.chatChannel = chatChannel; } /** *

* The Chatbot chat channel used for collaboration during an incident. *

*

* Use the empty structure to remove the chat channel from the response plan. *

* * @return The Chatbot chat channel used for collaboration during an incident.

*

* Use the empty structure to remove the chat channel from the response plan. */ public ChatChannel getChatChannel() { return this.chatChannel; } /** *

* The Chatbot chat channel used for collaboration during an incident. *

*

* Use the empty structure to remove the chat channel from the response plan. *

* * @param chatChannel * The Chatbot chat channel used for collaboration during an incident.

*

* Use the empty structure to remove the chat channel from the response plan. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withChatChannel(ChatChannel chatChannel) { setChatChannel(chatChannel); return this; } /** *

* A token ensuring that the operation is called only once with the specified details. *

* * @param clientToken * A token ensuring that the operation is called only once with the specified details. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** *

* A token ensuring that the operation is called only once with the specified details. *

* * @return A token ensuring that the operation is called only once with the specified details. */ public String getClientToken() { return this.clientToken; } /** *

* A token ensuring that the operation is called only once with the specified details. *

* * @param clientToken * A token ensuring that the operation is called only once with the specified details. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** *

* The long format name of the response plan. The display name can't contain spaces. *

* * @param displayName * The long format name of the response plan. The display name can't contain spaces. */ public void setDisplayName(String displayName) { this.displayName = displayName; } /** *

* The long format name of the response plan. The display name can't contain spaces. *

* * @return The long format name of the response plan. The display name can't contain spaces. */ public String getDisplayName() { return this.displayName; } /** *

* The long format name of the response plan. The display name can't contain spaces. *

* * @param displayName * The long format name of the response plan. The display name can't contain spaces. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withDisplayName(String displayName) { setDisplayName(displayName); return this; } /** *

* The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an * incident. *

* * @return The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages * during an incident. */ public java.util.List getEngagements() { return engagements; } /** *

* The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an * incident. *

* * @param engagements * The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during * an incident. */ public void setEngagements(java.util.Collection engagements) { if (engagements == null) { this.engagements = null; return; } this.engagements = new java.util.ArrayList(engagements); } /** *

* The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an * incident. *

*

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

* * @param engagements * The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during * an incident. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withEngagements(String... engagements) { if (this.engagements == null) { setEngagements(new java.util.ArrayList(engagements.length)); } for (String ele : engagements) { this.engagements.add(ele); } return this; } /** *

* The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an * incident. *

* * @param engagements * The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during * an incident. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withEngagements(java.util.Collection engagements) { setEngagements(engagements); return this; } /** *

* The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the * same account. *

* * @param incidentTemplateDedupeString * The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in * the same account. */ public void setIncidentTemplateDedupeString(String incidentTemplateDedupeString) { this.incidentTemplateDedupeString = incidentTemplateDedupeString; } /** *

* The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the * same account. *

* * @return The string Incident Manager uses to prevent duplicate incidents from being created by the same incident * in the same account. */ public String getIncidentTemplateDedupeString() { return this.incidentTemplateDedupeString; } /** *

* The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the * same account. *

* * @param incidentTemplateDedupeString * The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in * the same account. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withIncidentTemplateDedupeString(String incidentTemplateDedupeString) { setIncidentTemplateDedupeString(incidentTemplateDedupeString); return this; } /** *

* Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan. *

*

* Possible impacts: *

*
    *
  • *

    * 5 - Severe impact *

    *
  • *
  • *

    * 4 - High impact *

    *
  • *
  • *

    * 3 - Medium impact *

    *
  • *
  • *

    * 2 - Low impact *

    *
  • *
  • *

    * 1 - No impact *

    *
  • *
* * @param incidentTemplateImpact * Defines the impact to the customers. Providing an impact overwrites the impact provided by a response * plan.

*

* Possible impacts: *

*
    *
  • *

    * 5 - Severe impact *

    *
  • *
  • *

    * 4 - High impact *

    *
  • *
  • *

    * 3 - Medium impact *

    *
  • *
  • *

    * 2 - Low impact *

    *
  • *
  • *

    * 1 - No impact *

    *
  • */ public void setIncidentTemplateImpact(Integer incidentTemplateImpact) { this.incidentTemplateImpact = incidentTemplateImpact; } /** *

    * Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan. *

    *

    * Possible impacts: *

    *
      *
    • *

      * 5 - Severe impact *

      *
    • *
    • *

      * 4 - High impact *

      *
    • *
    • *

      * 3 - Medium impact *

      *
    • *
    • *

      * 2 - Low impact *

      *
    • *
    • *

      * 1 - No impact *

      *
    • *
    * * @return Defines the impact to the customers. Providing an impact overwrites the impact provided by a response * plan.

    *

    * Possible impacts: *

    *
      *
    • *

      * 5 - Severe impact *

      *
    • *
    • *

      * 4 - High impact *

      *
    • *
    • *

      * 3 - Medium impact *

      *
    • *
    • *

      * 2 - Low impact *

      *
    • *
    • *

      * 1 - No impact *

      *
    • */ public Integer getIncidentTemplateImpact() { return this.incidentTemplateImpact; } /** *

      * Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan. *

      *

      * Possible impacts: *

      *
        *
      • *

        * 5 - Severe impact *

        *
      • *
      • *

        * 4 - High impact *

        *
      • *
      • *

        * 3 - Medium impact *

        *
      • *
      • *

        * 2 - Low impact *

        *
      • *
      • *

        * 1 - No impact *

        *
      • *
      * * @param incidentTemplateImpact * Defines the impact to the customers. Providing an impact overwrites the impact provided by a response * plan.

      *

      * Possible impacts: *

      *
        *
      • *

        * 5 - Severe impact *

        *
      • *
      • *

        * 4 - High impact *

        *
      • *
      • *

        * 3 - Medium impact *

        *
      • *
      • *

        * 2 - Low impact *

        *
      • *
      • *

        * 1 - No impact *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withIncidentTemplateImpact(Integer incidentTemplateImpact) { setIncidentTemplateImpact(incidentTemplateImpact); return this; } /** *

        * The Amazon SNS targets that are notified when updates are made to an incident. *

        * * @return The Amazon SNS targets that are notified when updates are made to an incident. */ public java.util.List getIncidentTemplateNotificationTargets() { return incidentTemplateNotificationTargets; } /** *

        * The Amazon SNS targets that are notified when updates are made to an incident. *

        * * @param incidentTemplateNotificationTargets * The Amazon SNS targets that are notified when updates are made to an incident. */ public void setIncidentTemplateNotificationTargets(java.util.Collection incidentTemplateNotificationTargets) { if (incidentTemplateNotificationTargets == null) { this.incidentTemplateNotificationTargets = null; return; } this.incidentTemplateNotificationTargets = new java.util.ArrayList(incidentTemplateNotificationTargets); } /** *

        * The Amazon SNS targets that are notified when updates are made to an incident. *

        *

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

        * * @param incidentTemplateNotificationTargets * The Amazon SNS targets that are notified when updates are made to an incident. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withIncidentTemplateNotificationTargets(NotificationTargetItem... incidentTemplateNotificationTargets) { if (this.incidentTemplateNotificationTargets == null) { setIncidentTemplateNotificationTargets(new java.util.ArrayList(incidentTemplateNotificationTargets.length)); } for (NotificationTargetItem ele : incidentTemplateNotificationTargets) { this.incidentTemplateNotificationTargets.add(ele); } return this; } /** *

        * The Amazon SNS targets that are notified when updates are made to an incident. *

        * * @param incidentTemplateNotificationTargets * The Amazon SNS targets that are notified when updates are made to an incident. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withIncidentTemplateNotificationTargets(java.util.Collection incidentTemplateNotificationTargets) { setIncidentTemplateNotificationTargets(incidentTemplateNotificationTargets); return this; } /** *

        * A brief summary of the incident. This typically contains what has happened, what's currently happening, and next * steps. *

        * * @param incidentTemplateSummary * A brief summary of the incident. This typically contains what has happened, what's currently happening, * and next steps. */ public void setIncidentTemplateSummary(String incidentTemplateSummary) { this.incidentTemplateSummary = incidentTemplateSummary; } /** *

        * A brief summary of the incident. This typically contains what has happened, what's currently happening, and next * steps. *

        * * @return A brief summary of the incident. This typically contains what has happened, what's currently happening, * and next steps. */ public String getIncidentTemplateSummary() { return this.incidentTemplateSummary; } /** *

        * A brief summary of the incident. This typically contains what has happened, what's currently happening, and next * steps. *

        * * @param incidentTemplateSummary * A brief summary of the incident. This typically contains what has happened, what's currently happening, * and next steps. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withIncidentTemplateSummary(String incidentTemplateSummary) { setIncidentTemplateSummary(incidentTemplateSummary); return this; } /** *

        * Tags to assign to the template. When the StartIncident API action is called, Incident Manager * assigns the tags specified in the template to the incident. To call this action, you must also have permission to * call the TagResource API action for the incident record resource. *

        * * @return Tags to assign to the template. When the StartIncident API action is called, Incident * Manager assigns the tags specified in the template to the incident. To call this action, you must also * have permission to call the TagResource API action for the incident record resource. */ public java.util.Map getIncidentTemplateTags() { return incidentTemplateTags; } /** *

        * Tags to assign to the template. When the StartIncident API action is called, Incident Manager * assigns the tags specified in the template to the incident. To call this action, you must also have permission to * call the TagResource API action for the incident record resource. *

        * * @param incidentTemplateTags * Tags to assign to the template. When the StartIncident API action is called, Incident Manager * assigns the tags specified in the template to the incident. To call this action, you must also have * permission to call the TagResource API action for the incident record resource. */ public void setIncidentTemplateTags(java.util.Map incidentTemplateTags) { this.incidentTemplateTags = incidentTemplateTags; } /** *

        * Tags to assign to the template. When the StartIncident API action is called, Incident Manager * assigns the tags specified in the template to the incident. To call this action, you must also have permission to * call the TagResource API action for the incident record resource. *

        * * @param incidentTemplateTags * Tags to assign to the template. When the StartIncident API action is called, Incident Manager * assigns the tags specified in the template to the incident. To call this action, you must also have * permission to call the TagResource API action for the incident record resource. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withIncidentTemplateTags(java.util.Map incidentTemplateTags) { setIncidentTemplateTags(incidentTemplateTags); return this; } /** * Add a single IncidentTemplateTags entry * * @see UpdateResponsePlanRequest#withIncidentTemplateTags * @returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest addIncidentTemplateTagsEntry(String key, String value) { if (null == this.incidentTemplateTags) { this.incidentTemplateTags = new java.util.HashMap(); } if (this.incidentTemplateTags.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.incidentTemplateTags.put(key, value); return this; } /** * Removes all the entries added into IncidentTemplateTags. * * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest clearIncidentTemplateTagsEntries() { this.incidentTemplateTags = null; return this; } /** *

        * The short format name of the incident. The title can't contain spaces. *

        * * @param incidentTemplateTitle * The short format name of the incident. The title can't contain spaces. */ public void setIncidentTemplateTitle(String incidentTemplateTitle) { this.incidentTemplateTitle = incidentTemplateTitle; } /** *

        * The short format name of the incident. The title can't contain spaces. *

        * * @return The short format name of the incident. The title can't contain spaces. */ public String getIncidentTemplateTitle() { return this.incidentTemplateTitle; } /** *

        * The short format name of the incident. The title can't contain spaces. *

        * * @param incidentTemplateTitle * The short format name of the incident. The title can't contain spaces. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withIncidentTemplateTitle(String incidentTemplateTitle) { setIncidentTemplateTitle(incidentTemplateTitle); return this; } /** *

        * Information about third-party services integrated into the response plan. *

        * * @return Information about third-party services integrated into the response plan. */ public java.util.List getIntegrations() { return integrations; } /** *

        * Information about third-party services integrated into the response plan. *

        * * @param integrations * Information about third-party services integrated into the response plan. */ public void setIntegrations(java.util.Collection integrations) { if (integrations == null) { this.integrations = null; return; } this.integrations = new java.util.ArrayList(integrations); } /** *

        * Information about third-party services integrated into the response plan. *

        *

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

        * * @param integrations * Information about third-party services integrated into the response plan. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withIntegrations(Integration... integrations) { if (this.integrations == null) { setIntegrations(new java.util.ArrayList(integrations.length)); } for (Integration ele : integrations) { this.integrations.add(ele); } return this; } /** *

        * Information about third-party services integrated into the response plan. *

        * * @param integrations * Information about third-party services integrated into the response plan. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateResponsePlanRequest withIntegrations(java.util.Collection integrations) { setIntegrations(integrations); 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 (getActions() != null) sb.append("Actions: ").append(getActions()).append(","); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getChatChannel() != null) sb.append("ChatChannel: ").append(getChatChannel()).append(","); if (getClientToken() != null) sb.append("ClientToken: ").append(getClientToken()).append(","); if (getDisplayName() != null) sb.append("DisplayName: ").append(getDisplayName()).append(","); if (getEngagements() != null) sb.append("Engagements: ").append(getEngagements()).append(","); if (getIncidentTemplateDedupeString() != null) sb.append("IncidentTemplateDedupeString: ").append(getIncidentTemplateDedupeString()).append(","); if (getIncidentTemplateImpact() != null) sb.append("IncidentTemplateImpact: ").append(getIncidentTemplateImpact()).append(","); if (getIncidentTemplateNotificationTargets() != null) sb.append("IncidentTemplateNotificationTargets: ").append(getIncidentTemplateNotificationTargets()).append(","); if (getIncidentTemplateSummary() != null) sb.append("IncidentTemplateSummary: ").append(getIncidentTemplateSummary()).append(","); if (getIncidentTemplateTags() != null) sb.append("IncidentTemplateTags: ").append(getIncidentTemplateTags()).append(","); if (getIncidentTemplateTitle() != null) sb.append("IncidentTemplateTitle: ").append(getIncidentTemplateTitle()).append(","); if (getIntegrations() != null) sb.append("Integrations: ").append(getIntegrations()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateResponsePlanRequest == false) return false; UpdateResponsePlanRequest other = (UpdateResponsePlanRequest) obj; if (other.getActions() == null ^ this.getActions() == null) return false; if (other.getActions() != null && other.getActions().equals(this.getActions()) == false) return false; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getChatChannel() == null ^ this.getChatChannel() == null) return false; if (other.getChatChannel() != null && other.getChatChannel().equals(this.getChatChannel()) == 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.getDisplayName() == null ^ this.getDisplayName() == null) return false; if (other.getDisplayName() != null && other.getDisplayName().equals(this.getDisplayName()) == false) return false; if (other.getEngagements() == null ^ this.getEngagements() == null) return false; if (other.getEngagements() != null && other.getEngagements().equals(this.getEngagements()) == false) return false; if (other.getIncidentTemplateDedupeString() == null ^ this.getIncidentTemplateDedupeString() == null) return false; if (other.getIncidentTemplateDedupeString() != null && other.getIncidentTemplateDedupeString().equals(this.getIncidentTemplateDedupeString()) == false) return false; if (other.getIncidentTemplateImpact() == null ^ this.getIncidentTemplateImpact() == null) return false; if (other.getIncidentTemplateImpact() != null && other.getIncidentTemplateImpact().equals(this.getIncidentTemplateImpact()) == false) return false; if (other.getIncidentTemplateNotificationTargets() == null ^ this.getIncidentTemplateNotificationTargets() == null) return false; if (other.getIncidentTemplateNotificationTargets() != null && other.getIncidentTemplateNotificationTargets().equals(this.getIncidentTemplateNotificationTargets()) == false) return false; if (other.getIncidentTemplateSummary() == null ^ this.getIncidentTemplateSummary() == null) return false; if (other.getIncidentTemplateSummary() != null && other.getIncidentTemplateSummary().equals(this.getIncidentTemplateSummary()) == false) return false; if (other.getIncidentTemplateTags() == null ^ this.getIncidentTemplateTags() == null) return false; if (other.getIncidentTemplateTags() != null && other.getIncidentTemplateTags().equals(this.getIncidentTemplateTags()) == false) return false; if (other.getIncidentTemplateTitle() == null ^ this.getIncidentTemplateTitle() == null) return false; if (other.getIncidentTemplateTitle() != null && other.getIncidentTemplateTitle().equals(this.getIncidentTemplateTitle()) == false) return false; if (other.getIntegrations() == null ^ this.getIntegrations() == null) return false; if (other.getIntegrations() != null && other.getIntegrations().equals(this.getIntegrations()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getActions() == null) ? 0 : getActions().hashCode()); hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getChatChannel() == null) ? 0 : getChatChannel().hashCode()); hashCode = prime * hashCode + ((getClientToken() == null) ? 0 : getClientToken().hashCode()); hashCode = prime * hashCode + ((getDisplayName() == null) ? 0 : getDisplayName().hashCode()); hashCode = prime * hashCode + ((getEngagements() == null) ? 0 : getEngagements().hashCode()); hashCode = prime * hashCode + ((getIncidentTemplateDedupeString() == null) ? 0 : getIncidentTemplateDedupeString().hashCode()); hashCode = prime * hashCode + ((getIncidentTemplateImpact() == null) ? 0 : getIncidentTemplateImpact().hashCode()); hashCode = prime * hashCode + ((getIncidentTemplateNotificationTargets() == null) ? 0 : getIncidentTemplateNotificationTargets().hashCode()); hashCode = prime * hashCode + ((getIncidentTemplateSummary() == null) ? 0 : getIncidentTemplateSummary().hashCode()); hashCode = prime * hashCode + ((getIncidentTemplateTags() == null) ? 0 : getIncidentTemplateTags().hashCode()); hashCode = prime * hashCode + ((getIncidentTemplateTitle() == null) ? 0 : getIncidentTemplateTitle().hashCode()); hashCode = prime * hashCode + ((getIntegrations() == null) ? 0 : getIntegrations().hashCode()); return hashCode; } @Override public UpdateResponsePlanRequest clone() { return (UpdateResponsePlanRequest) super.clone(); } }