code: public void modifySubnetAttributes(String subnetId, String name) {
          ModifySubnetAttributesRequest request = new ModifySubnetAttributesRequest();
          modifySubnetAttributes(request.withName(name).withSubnetId(subnetId));
      }
docs: Modifying the special attribute to new value of the subnet owned by the user.
  @param subnetId The id of the subnet
  @param name The name of the subnet after modifying