/* * 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 DeletePoolResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The Amazon Resource Name (ARN) of the pool that was deleted. *

*/ private String poolArn; /** *

* The PoolId of the pool that was deleted. *

*/ private String poolId; /** *

* The current status of the pool. *

* */ private String status; /** *

* The message type that was associated with the deleted pool. *

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

*/ 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 that was associated with the deleted pool. *

*/ private String optOutListName; /** *

* Indicates whether shared routes are enabled for the pool. *

*/ private Boolean sharedRoutesEnabled; /** *

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

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

* The Amazon Resource Name (ARN) of the pool that was deleted. *

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

* The Amazon Resource Name (ARN) of the pool that was deleted. *

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

* The Amazon Resource Name (ARN) of the pool that was deleted. *

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

* The PoolId of the pool that was deleted. *

* * @param poolId * The PoolId of the pool that was deleted. */ public void setPoolId(String poolId) { this.poolId = poolId; } /** *

* The PoolId of the pool that was deleted. *

* * @return The PoolId of the pool that was deleted. */ public String getPoolId() { return this.poolId; } /** *

* The PoolId of the pool that was deleted. *

* * @param poolId * The PoolId of the pool that was deleted. * @return Returns a reference to this object so that method calls can be chained together. */ public DeletePoolResult withPoolId(String poolId) { setPoolId(poolId); return this; } /** *

* The current status of the pool. *

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

*