public DeletePoolResult withMessageType(MessageType messageType) {
        this.messageType = messageType.toString();
        return this;
    }
<p>
The message type that was associated with the deleted pool.
</p>

@param messageType
       The message type that was associated with the deleted pool.
@return Returns a reference to this object so that method calls can be chained together.
@see MessageType
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/DeletePoolResult.java