code: public GetSubnetResponse getSubnet(GetSubnetRequest getSubnetRequest) {
          checkNotNull(getSubnetRequest, "request should not be null.");
          checkNotNull(getSubnetRequest.getSubnetId(), "request vpcId should not be null.");
          InternalRequest internalRequest = this.createRequest(
                  getSubnetRequest, HttpMethodName.GET, SUBNET_PREFIX, getSubnetRequest.getSubnetId());
          return this.invokeHttpClient(internalRequest, GetSubnetResponse.class);
      }
docs: Get the detail information of specified subnet.
  
  @param getSubnetRequest The request containing all options for getting the subnet info.
  @return A subnet detail model for the subnetId.