/* * 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.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. *

* */ 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; /** *

* 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, Amazon Pinpoint 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. *

*/ 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. *

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

*