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 ) ; }
Get the detail information of specified subnet .