content: package com.alicloud.openservices.tablestore.model.tunnel;
  
  import com.alicloud.openservices.tablestore.core.utils.Preconditions;
  import com.alicloud.openservices.tablestore.model.OperationNames;
  import com.alicloud.openservices.tablestore.model.Request;
  
  /**
   * DescribeTunnelRequest includes some necessary parameters to describe a Tunnel, including the table name and Tunnel name.
   */
  public class DescribeTunnelRequest implements Request {
      /**
       * Table name.
       */
      private String tableName;
  
      /**
       * Tunnel name.
       */
      private String tunnelName;
  
      /**
       * Initialize the DescribeTunnelRequest instance.
       * @param tableName The name of the table.
       * @param tunnelName The name of the Tunnel.
       */
      public DescribeTunnelRequest(String tableName, String tunnelName) {
          setTableName(tableName);
          setTunnelName(tunnelName);
      }
  
      /**
       * Get the table name.
       * @return The table name.
       */
      public String getTableName() {
          return tableName;
      }
  
      /**
       * Set the table name.
       * @param tableName The name of the table.
       */
      public void setTableName(String tableName) {
          Preconditions.checkArgument(tableName != null && !tableName.isEmpty(),
              "The table name should not be empty.");
          this.tableName = tableName;
      }
  
      /**
       * Get the Tunnel name.
       * @return The Tunnel name.
       */
      public String getTunnelName() {
          return tunnelName;
      }
  
      /**
       * Set the Tunnel name.
       * @param tunnelName The name of the Tunnel.
       */
      public void setTunnelName(String tunnelName) {
          Preconditions.checkArgument(tunnelName != null && !tunnelName.isEmpty(),
              "The tunnel name should not be empty.");
          this.tunnelName = tunnelName;
      }
  
      @Override
      public String getOperationName() {
          return OperationNames.OP_DESCRIBE_TUNNEL;
      }
  }
  