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

com.amazonaws.services.pinpointsmsvoicev2.model.CreatePoolResult Maven / Gradle / Ivy

/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.pinpointsmsvoicev2.model;

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

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

    /**
     * 

* The Amazon Resource Name (ARN) for the pool. *

*/ private String poolArn; /** *

* The unique identifier for the pool. *

*/ private String poolId; /** *

* The current status of the pool. *

*
    *
  • *

    * CREATING: The pool is currently being created and isn't yet available for use. *

    *
  • *
  • *

    * ACTIVE: The pool is active and available for use. *

    *
  • *
  • *

    * DELETING: The pool is being deleted. *

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

* The type of message for the pool to use. *

*/ private String messageType; /** *

* By default this is set to false. When set to true you can receive incoming text messages from your end * recipients. *

*/ private Boolean twoWayEnabled; /** *

* The Amazon Resource Name (ARN) of the two way channel. *

*/ private String twoWayChannelArn; /** *

* An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages. *

*/ private String twoWayChannelRole; /** *

* By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of * your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message * and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP * requests. You're also responsible for tracking and honoring opt-out requests. *

*/ private Boolean selfManagedOptOutsEnabled; /** *

* The name of the OptOutList associated with the pool. *

*/ private String optOutListName; /** *

* Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in this * pool are used to send messages. *

*/ private Boolean sharedRoutesEnabled; /** *

* When set to true deletion protection is enabled. By default this is set to false. *

*/ private Boolean deletionProtectionEnabled; /** *

* An array of tags (key and value pairs) associated with the pool. *

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

* The time when the pool was created, in UNIX epoch time format. *

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

* The Amazon Resource Name (ARN) for the pool. *

* * @param poolArn * The Amazon Resource Name (ARN) for the pool. */ public void setPoolArn(String poolArn) { this.poolArn = poolArn; } /** *

* The Amazon Resource Name (ARN) for the pool. *

* * @return The Amazon Resource Name (ARN) for the pool. */ public String getPoolArn() { return this.poolArn; } /** *

* The Amazon Resource Name (ARN) for the pool. *

* * @param poolArn * The Amazon Resource Name (ARN) for the pool. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withPoolArn(String poolArn) { setPoolArn(poolArn); return this; } /** *

* The unique identifier for the pool. *

* * @param poolId * The unique identifier for the pool. */ public void setPoolId(String poolId) { this.poolId = poolId; } /** *

* The unique identifier for the pool. *

* * @return The unique identifier for the pool. */ public String getPoolId() { return this.poolId; } /** *

* The unique identifier for the pool. *

* * @param poolId * The unique identifier for the pool. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withPoolId(String poolId) { setPoolId(poolId); return this; } /** *

* The current status of the pool. *

*
    *
  • *

    * CREATING: The pool is currently being created and isn't yet available for use. *

    *
  • *
  • *

    * ACTIVE: The pool is active and available for use. *

    *
  • *
  • *

    * DELETING: The pool is being deleted. *

    *
  • *
* * @param status * The current status of the pool.

*
    *
  • *

    * CREATING: The pool is currently being created and isn't yet available for use. *

    *
  • *
  • *

    * ACTIVE: The pool is active and available for use. *

    *
  • *
  • *

    * DELETING: The pool is being deleted. *

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

    * The current status of the pool. *

    *
      *
    • *

      * CREATING: The pool is currently being created and isn't yet available for use. *

      *
    • *
    • *

      * ACTIVE: The pool is active and available for use. *

      *
    • *
    • *

      * DELETING: The pool is being deleted. *

      *
    • *
    * * @return The current status of the pool.

    *
      *
    • *

      * CREATING: The pool is currently being created and isn't yet available for use. *

      *
    • *
    • *

      * ACTIVE: The pool is active and available for use. *

      *
    • *
    • *

      * DELETING: The pool is being deleted. *

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

      * The current status of the pool. *

      *
        *
      • *

        * CREATING: The pool is currently being created and isn't yet available for use. *

        *
      • *
      • *

        * ACTIVE: The pool is active and available for use. *

        *
      • *
      • *

        * DELETING: The pool is being deleted. *

        *
      • *
      * * @param status * The current status of the pool.

      *
        *
      • *

        * CREATING: The pool is currently being created and isn't yet available for use. *

        *
      • *
      • *

        * ACTIVE: The pool is active and available for use. *

        *
      • *
      • *

        * DELETING: The pool is being deleted. *

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

        * The current status of the pool. *

        *
          *
        • *

          * CREATING: The pool is currently being created and isn't yet available for use. *

          *
        • *
        • *

          * ACTIVE: The pool is active and available for use. *

          *
        • *
        • *

          * DELETING: The pool is being deleted. *

          *
        • *
        * * @param status * The current status of the pool.

        *
          *
        • *

          * CREATING: The pool is currently being created and isn't yet available for use. *

          *
        • *
        • *

          * ACTIVE: The pool is active and available for use. *

          *
        • *
        • *

          * DELETING: The pool is being deleted. *

          *
        • * @return Returns a reference to this object so that method calls can be chained together. * @see PoolStatus */ public CreatePoolResult withStatus(PoolStatus status) { this.status = status.toString(); return this; } /** *

          * The type of message for the pool to use. *

          * * @param messageType * The type of message for the pool to use. * @see MessageType */ public void setMessageType(String messageType) { this.messageType = messageType; } /** *

          * The type of message for the pool to use. *

          * * @return The type of message for the pool to use. * @see MessageType */ public String getMessageType() { return this.messageType; } /** *

          * The type of message for the pool to use. *

          * * @param messageType * The type of message for the pool to use. * @return Returns a reference to this object so that method calls can be chained together. * @see MessageType */ public CreatePoolResult withMessageType(String messageType) { setMessageType(messageType); return this; } /** *

          * The type of message for the pool to use. *

          * * @param messageType * The type of message for the pool to use. * @return Returns a reference to this object so that method calls can be chained together. * @see MessageType */ public CreatePoolResult withMessageType(MessageType messageType) { this.messageType = messageType.toString(); return this; } /** *

          * By default this is set to false. When set to true you can receive incoming text messages from your end * recipients. *

          * * @param twoWayEnabled * By default this is set to false. When set to true you can receive incoming text messages from your end * recipients. */ public void setTwoWayEnabled(Boolean twoWayEnabled) { this.twoWayEnabled = twoWayEnabled; } /** *

          * By default this is set to false. When set to true you can receive incoming text messages from your end * recipients. *

          * * @return By default this is set to false. When set to true you can receive incoming text messages from your end * recipients. */ public Boolean getTwoWayEnabled() { return this.twoWayEnabled; } /** *

          * By default this is set to false. When set to true you can receive incoming text messages from your end * recipients. *

          * * @param twoWayEnabled * By default this is set to false. When set to true you can receive incoming text messages from your end * recipients. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withTwoWayEnabled(Boolean twoWayEnabled) { setTwoWayEnabled(twoWayEnabled); return this; } /** *

          * By default this is set to false. When set to true you can receive incoming text messages from your end * recipients. *

          * * @return By default this is set to false. When set to true you can receive incoming text messages from your end * recipients. */ public Boolean isTwoWayEnabled() { return this.twoWayEnabled; } /** *

          * The Amazon Resource Name (ARN) of the two way channel. *

          * * @param twoWayChannelArn * The Amazon Resource Name (ARN) of the two way channel. */ public void setTwoWayChannelArn(String twoWayChannelArn) { this.twoWayChannelArn = twoWayChannelArn; } /** *

          * The Amazon Resource Name (ARN) of the two way channel. *

          * * @return The Amazon Resource Name (ARN) of the two way channel. */ public String getTwoWayChannelArn() { return this.twoWayChannelArn; } /** *

          * The Amazon Resource Name (ARN) of the two way channel. *

          * * @param twoWayChannelArn * The Amazon Resource Name (ARN) of the two way channel. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withTwoWayChannelArn(String twoWayChannelArn) { setTwoWayChannelArn(twoWayChannelArn); return this; } /** *

          * An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages. *

          * * @param twoWayChannelRole * An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages. */ public void setTwoWayChannelRole(String twoWayChannelRole) { this.twoWayChannelRole = twoWayChannelRole; } /** *

          * An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages. *

          * * @return An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages. */ public String getTwoWayChannelRole() { return this.twoWayChannelRole; } /** *

          * An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages. *

          * * @param twoWayChannelRole * An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withTwoWayChannelRole(String twoWayChannelRole) { setTwoWayChannelRole(twoWayChannelRole); return this; } /** *

          * By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of * your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message * and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP * requests. You're also responsible for tracking and honoring opt-out requests. *

          * * @param selfManagedOptOutsEnabled * By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to * one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a * customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for * responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests. */ public void setSelfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled) { this.selfManagedOptOutsEnabled = selfManagedOptOutsEnabled; } /** *

          * By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of * your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message * and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP * requests. You're also responsible for tracking and honoring opt-out requests. *

          * * @return By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to * one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a * customizable message and adds the end recipient to the OptOutList. When set to true you're responsible * for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out * requests. */ public Boolean getSelfManagedOptOutsEnabled() { return this.selfManagedOptOutsEnabled; } /** *

          * By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of * your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message * and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP * requests. You're also responsible for tracking and honoring opt-out requests. *

          * * @param selfManagedOptOutsEnabled * By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to * one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a * customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for * responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withSelfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled) { setSelfManagedOptOutsEnabled(selfManagedOptOutsEnabled); return this; } /** *

          * By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of * your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message * and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP * requests. You're also responsible for tracking and honoring opt-out requests. *

          * * @return By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to * one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a * customizable message and adds the end recipient to the OptOutList. When set to true you're responsible * for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out * requests. */ public Boolean isSelfManagedOptOutsEnabled() { return this.selfManagedOptOutsEnabled; } /** *

          * The name of the OptOutList associated with the pool. *

          * * @param optOutListName * The name of the OptOutList associated with the pool. */ public void setOptOutListName(String optOutListName) { this.optOutListName = optOutListName; } /** *

          * The name of the OptOutList associated with the pool. *

          * * @return The name of the OptOutList associated with the pool. */ public String getOptOutListName() { return this.optOutListName; } /** *

          * The name of the OptOutList associated with the pool. *

          * * @param optOutListName * The name of the OptOutList associated with the pool. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withOptOutListName(String optOutListName) { setOptOutListName(optOutListName); return this; } /** *

          * Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in this * pool are used to send messages. *

          * * @param sharedRoutesEnabled * Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in * this pool are used to send messages. */ public void setSharedRoutesEnabled(Boolean sharedRoutesEnabled) { this.sharedRoutesEnabled = sharedRoutesEnabled; } /** *

          * Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in this * pool are used to send messages. *

          * * @return Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in * this pool are used to send messages. */ public Boolean getSharedRoutesEnabled() { return this.sharedRoutesEnabled; } /** *

          * Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in this * pool are used to send messages. *

          * * @param sharedRoutesEnabled * Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in * this pool are used to send messages. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withSharedRoutesEnabled(Boolean sharedRoutesEnabled) { setSharedRoutesEnabled(sharedRoutesEnabled); return this; } /** *

          * Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in this * pool are used to send messages. *

          * * @return Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in * this pool are used to send messages. */ public Boolean isSharedRoutesEnabled() { return this.sharedRoutesEnabled; } /** *

          * When set to true deletion protection is enabled. By default this is set to false. *

          * * @param deletionProtectionEnabled * When set to true deletion protection is enabled. By default this is set to false. */ public void setDeletionProtectionEnabled(Boolean deletionProtectionEnabled) { this.deletionProtectionEnabled = deletionProtectionEnabled; } /** *

          * When set to true deletion protection is enabled. By default this is set to false. *

          * * @return When set to true deletion protection is enabled. By default this is set to false. */ public Boolean getDeletionProtectionEnabled() { return this.deletionProtectionEnabled; } /** *

          * When set to true deletion protection is enabled. By default this is set to false. *

          * * @param deletionProtectionEnabled * When set to true deletion protection is enabled. By default this is set to false. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withDeletionProtectionEnabled(Boolean deletionProtectionEnabled) { setDeletionProtectionEnabled(deletionProtectionEnabled); return this; } /** *

          * When set to true deletion protection is enabled. By default this is set to false. *

          * * @return When set to true deletion protection is enabled. By default this is set to false. */ public Boolean isDeletionProtectionEnabled() { return this.deletionProtectionEnabled; } /** *

          * An array of tags (key and value pairs) associated with the pool. *

          * * @return An array of tags (key and value pairs) associated with the pool. */ public java.util.List getTags() { return tags; } /** *

          * An array of tags (key and value pairs) associated with the pool. *

          * * @param tags * An array of tags (key and value pairs) associated with the pool. */ public void setTags(java.util.Collection tags) { if (tags == null) { this.tags = null; return; } this.tags = new java.util.ArrayList(tags); } /** *

          * An array of tags (key and value pairs) associated with the pool. *

          *

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

          * * @param tags * An array of tags (key and value pairs) associated with the pool. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList(tags.length)); } for (Tag ele : tags) { this.tags.add(ele); } return this; } /** *

          * An array of tags (key and value pairs) associated with the pool. *

          * * @param tags * An array of tags (key and value pairs) associated with the pool. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withTags(java.util.Collection tags) { setTags(tags); return this; } /** *

          * The time when the pool was created, in UNIX epoch time format. *

          * * @param createdTimestamp * The time when the pool was created, in UNIX epoch time * format. */ public void setCreatedTimestamp(java.util.Date createdTimestamp) { this.createdTimestamp = createdTimestamp; } /** *

          * The time when the pool was created, in UNIX epoch time format. *

          * * @return The time when the pool was created, in UNIX epoch time * format. */ public java.util.Date getCreatedTimestamp() { return this.createdTimestamp; } /** *

          * The time when the pool was created, in UNIX epoch time format. *

          * * @param createdTimestamp * The time when the pool was created, in UNIX epoch time * format. * @return Returns a reference to this object so that method calls can be chained together. */ public CreatePoolResult withCreatedTimestamp(java.util.Date createdTimestamp) { setCreatedTimestamp(createdTimestamp); 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 (getPoolArn() != null) sb.append("PoolArn: ").append(getPoolArn()).append(","); if (getPoolId() != null) sb.append("PoolId: ").append(getPoolId()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getMessageType() != null) sb.append("MessageType: ").append(getMessageType()).append(","); if (getTwoWayEnabled() != null) sb.append("TwoWayEnabled: ").append(getTwoWayEnabled()).append(","); if (getTwoWayChannelArn() != null) sb.append("TwoWayChannelArn: ").append(getTwoWayChannelArn()).append(","); if (getTwoWayChannelRole() != null) sb.append("TwoWayChannelRole: ").append(getTwoWayChannelRole()).append(","); if (getSelfManagedOptOutsEnabled() != null) sb.append("SelfManagedOptOutsEnabled: ").append(getSelfManagedOptOutsEnabled()).append(","); if (getOptOutListName() != null) sb.append("OptOutListName: ").append(getOptOutListName()).append(","); if (getSharedRoutesEnabled() != null) sb.append("SharedRoutesEnabled: ").append(getSharedRoutesEnabled()).append(","); if (getDeletionProtectionEnabled() != null) sb.append("DeletionProtectionEnabled: ").append(getDeletionProtectionEnabled()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getCreatedTimestamp() != null) sb.append("CreatedTimestamp: ").append(getCreatedTimestamp()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreatePoolResult == false) return false; CreatePoolResult other = (CreatePoolResult) obj; if (other.getPoolArn() == null ^ this.getPoolArn() == null) return false; if (other.getPoolArn() != null && other.getPoolArn().equals(this.getPoolArn()) == false) return false; if (other.getPoolId() == null ^ this.getPoolId() == null) return false; if (other.getPoolId() != null && other.getPoolId().equals(this.getPoolId()) == 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.getMessageType() == null ^ this.getMessageType() == null) return false; if (other.getMessageType() != null && other.getMessageType().equals(this.getMessageType()) == false) return false; if (other.getTwoWayEnabled() == null ^ this.getTwoWayEnabled() == null) return false; if (other.getTwoWayEnabled() != null && other.getTwoWayEnabled().equals(this.getTwoWayEnabled()) == false) return false; if (other.getTwoWayChannelArn() == null ^ this.getTwoWayChannelArn() == null) return false; if (other.getTwoWayChannelArn() != null && other.getTwoWayChannelArn().equals(this.getTwoWayChannelArn()) == false) return false; if (other.getTwoWayChannelRole() == null ^ this.getTwoWayChannelRole() == null) return false; if (other.getTwoWayChannelRole() != null && other.getTwoWayChannelRole().equals(this.getTwoWayChannelRole()) == false) return false; if (other.getSelfManagedOptOutsEnabled() == null ^ this.getSelfManagedOptOutsEnabled() == null) return false; if (other.getSelfManagedOptOutsEnabled() != null && other.getSelfManagedOptOutsEnabled().equals(this.getSelfManagedOptOutsEnabled()) == false) return false; if (other.getOptOutListName() == null ^ this.getOptOutListName() == null) return false; if (other.getOptOutListName() != null && other.getOptOutListName().equals(this.getOptOutListName()) == false) return false; if (other.getSharedRoutesEnabled() == null ^ this.getSharedRoutesEnabled() == null) return false; if (other.getSharedRoutesEnabled() != null && other.getSharedRoutesEnabled().equals(this.getSharedRoutesEnabled()) == false) return false; if (other.getDeletionProtectionEnabled() == null ^ this.getDeletionProtectionEnabled() == null) return false; if (other.getDeletionProtectionEnabled() != null && other.getDeletionProtectionEnabled().equals(this.getDeletionProtectionEnabled()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getCreatedTimestamp() == null ^ this.getCreatedTimestamp() == null) return false; if (other.getCreatedTimestamp() != null && other.getCreatedTimestamp().equals(this.getCreatedTimestamp()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPoolArn() == null) ? 0 : getPoolArn().hashCode()); hashCode = prime * hashCode + ((getPoolId() == null) ? 0 : getPoolId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getMessageType() == null) ? 0 : getMessageType().hashCode()); hashCode = prime * hashCode + ((getTwoWayEnabled() == null) ? 0 : getTwoWayEnabled().hashCode()); hashCode = prime * hashCode + ((getTwoWayChannelArn() == null) ? 0 : getTwoWayChannelArn().hashCode()); hashCode = prime * hashCode + ((getTwoWayChannelRole() == null) ? 0 : getTwoWayChannelRole().hashCode()); hashCode = prime * hashCode + ((getSelfManagedOptOutsEnabled() == null) ? 0 : getSelfManagedOptOutsEnabled().hashCode()); hashCode = prime * hashCode + ((getOptOutListName() == null) ? 0 : getOptOutListName().hashCode()); hashCode = prime * hashCode + ((getSharedRoutesEnabled() == null) ? 0 : getSharedRoutesEnabled().hashCode()); hashCode = prime * hashCode + ((getDeletionProtectionEnabled() == null) ? 0 : getDeletionProtectionEnabled().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getCreatedTimestamp() == null) ? 0 : getCreatedTimestamp().hashCode()); return hashCode; } @Override public CreatePoolResult clone() { try { return (CreatePoolResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy